PERFORCE change 114065 for review
Alexander Leidinger
netchild at FreeBSD.org
Mon Feb 5 17:33:51 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=114065
Change 114065 by netchild at netchild_magellan on 2007/02/05 17:33:25
size_t is unsigned, so use the appropriate format specifier for printf
Affected files ...
.. //depot/projects/linuxolator/src/sys/compat/linprocfs/linprocfs.c#12 edit
Differences ...
==== //depot/projects/linuxolator/src/sys/compat/linprocfs/linprocfs.c#12 (text+ko) ====
@@ -525,7 +525,7 @@
state = 'R';
if (ratelimit == 0) {
- printf("linprocfs: don't know how to handle unknown FreeBSD state %d/%zd, mapping to R\n",
+ printf("linprocfs: don't know how to handle unknown FreeBSD state %d/%zu, mapping to R\n",
kp.ki_stat, sizeof(linux_state));
++ratelimit;
}
More information about the p4-projects
mailing list