diff options
author | Jeremy Allison <jra@samba.org> | 2006-04-09 01:20:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:55 -0500 |
commit | d8dfc29c9e4f1f1b7790d49c06f8bb5c301e509b (patch) | |
tree | 12a3a77b29b9cf8c185021697a55fa521494cd3a /source3 | |
parent | bbf666e447132a5f6b206ddf9ca918298b756392 (diff) | |
download | samba-d8dfc29c9e4f1f1b7790d49c06f8bb5c301e509b.tar.gz samba-d8dfc29c9e4f1f1b7790d49c06f8bb5c301e509b.tar.bz2 samba-d8dfc29c9e4f1f1b7790d49c06f8bb5c301e509b.zip |
r15005: Fix printf args to remove warnings.
Jeremy.
(This used to be commit 68d100830c5a6fa24b863071e8ca77ab264175a0)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util_file.c b/source3/lib/util_file.c index fff564aeb0..ed7be3f6c1 100644 --- a/source3/lib/util_file.c +++ b/source3/lib/util_file.c @@ -448,9 +448,9 @@ BOOL unmap_file(void* start, size_t size) { #ifdef HAVE_MMAP if ( munmap( start, size ) != 0 ) { - DEBUG( 1, ("map_file: Failed to unmap address %X " - "of size %d - %s\n", - start, size, strerror(errno) )); + DEBUG( 1, ("map_file: Failed to unmap address %p " + "of size %u - %s\n", + start, (unsigned int)size, strerror(errno) )); return False; } return True; |