PERFORCE change 108945 for review

Roman Divacky rdivacky at FreeBSD.org
Wed Nov 1 20:11:51 UTC 2006


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

Change 108945 by rdivacky at rdivacky_witten on 2006/11/01 20:11:03

	Make it compilable under -DDEBUG.

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_signal.c#5 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_signal.c#5 (text+ko) ====

@@ -458,8 +458,8 @@
 			return(error);
 #ifdef DEBUG
 		if (ldebug(rt_sigtimedwait))
-			printf("Linux-emul rt_sigtimedwait (%ld): incoming timeout (%ld/%ld)\n",
-				(long)p->p_pid, ltv.tv_sec, ltv.tv_usec);
+			printf("Linux-emul rt_sigtimedwait (%d): incoming timeout (%d/%d)\n",
+				p->p_pid, ltv.tv_sec, ltv.tv_usec);
 #endif
 		tv.tv_sec = (long)ltv.tv_sec;
 		tv.tv_usec = (suseconds_t)ltv.tv_usec;
@@ -477,8 +477,8 @@
 			timevalclear(&tv);
 #ifdef DEBUG
 			if (ldebug(rt_sigtimedwait))
-				printf("Linux-emul rt_sigtimedwait (%ld): converted timeout (%ld/%ld)\n",
-					(long)p->p_pid, tv.tv_sec, tv.tv_usec);
+				printf("Linux-emul rt_sigtimedwait (%d): converted timeout (%d/%ld)\n",
+					p->p_pid, tv.tv_sec, tv.tv_usec);
 #endif
 		}
 		TIMEVAL_TO_TIMESPEC(&tv, &ts);


More information about the p4-projects mailing list