summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_file.c6
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;