From d8dfc29c9e4f1f1b7790d49c06f8bb5c301e509b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 9 Apr 2006 01:20:26 +0000 Subject: r15005: Fix printf args to remove warnings. Jeremy. (This used to be commit 68d100830c5a6fa24b863071e8ca77ab264175a0) --- source3/lib/util_file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3') 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; -- cgit