svn commit: samba r15005 - in branches/SAMBA_3_0/source/lib: .
jra at samba.org
jra at samba.org
Sun Apr 9 01:20:27 GMT 2006
Author: jra
Date: 2006-04-09 01:20:26 +0000 (Sun, 09 Apr 2006)
New Revision: 15005
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15005
Log:
Fix printf args to remove warnings.
Jeremy.
Modified:
branches/SAMBA_3_0/source/lib/util_file.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/util_file.c
===================================================================
--- branches/SAMBA_3_0/source/lib/util_file.c 2006-04-09 01:20:25 UTC (rev 15004)
+++ branches/SAMBA_3_0/source/lib/util_file.c 2006-04-09 01:20:26 UTC (rev 15005)
@@ -448,9 +448,9 @@
{
#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;
More information about the samba-cvs
mailing list