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 | 68d100830c5a6fa24b863071e8ca77ab264175a0 (patch) | |
tree | e2fe91d5bc690aab318ce0fe0055e8faef8a272d /source/lib/util_file.c | |
parent | 1e0b79e591d70352a96e0a0487d8f394dc7b36ba (diff) | |
download | samba-68d100830c5a6fa24b863071e8ca77ab264175a0.tar.gz samba-68d100830c5a6fa24b863071e8ca77ab264175a0.tar.xz samba-68d100830c5a6fa24b863071e8ca77ab264175a0.zip |
r15005: Fix printf args to remove warnings.
Jeremy.
Diffstat (limited to 'source/lib/util_file.c')
-rw-r--r-- | source/lib/util_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/lib/util_file.c b/source/lib/util_file.c index fff564aeb01..ed7be3f6c1d 100644 --- a/source/lib/util_file.c +++ b/source/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; |