svn commit: samba r15004 - in trunk/source/lib: .

jra at samba.org jra at samba.org
Sun Apr 9 01:20:26 GMT 2006


Author: jra
Date: 2006-04-09 01:20:25 +0000 (Sun, 09 Apr 2006)
New Revision: 15004

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15004

Log:
Fix printf args to remove warnings.
Jeremy.

Modified:
   trunk/source/lib/util_file.c


Changeset:
Modified: trunk/source/lib/util_file.c
===================================================================
--- trunk/source/lib/util_file.c	2006-04-08 17:25:31 UTC (rev 15003)
+++ trunk/source/lib/util_file.c	2006-04-09 01:20:25 UTC (rev 15004)
@@ -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