PERFORCE change 104461 for review

Roman Divacky rdivacky at FreeBSD.org
Fri Aug 18 07:36:13 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=104461

Change 104461 by rdivacky at rdivacky_witten on 2006/08/18 07:36:06

	Make buildable on amd64.
	
	Submitted by: netchild

Affected files ...

.. //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_futex.c#30 edit

Differences ...

==== //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_futex.c#30 (text+ko) ====

@@ -147,9 +147,10 @@
 #ifdef DEBUG
 		if (ldebug(sys_futex))
    			printf("FUTEX_WAIT %d: val = %d, uaddr = %p, "
-		    		"*uaddr = %d, timeout = %d.%09ld\n", 
+		    		"*uaddr = %d, timeout = %d.%09lu\n", 
 		    		td->td_proc->p_pid, args->val, 
-		    		args->uaddr, val, timeout.tv_sec, timeout.tv_nsec); 
+		    		args->uaddr, val, timeout.tv_sec, 
+				(unsigned long) timeout.tv_nsec); 
 #endif
 		tv.tv_usec = timeout.tv_sec * 1000000 + timeout.tv_nsec / 1000;
 		timeout_hz = tvtohz(&tv);


More information about the p4-projects mailing list