PERFORCE change 109016 for review
Roman Divacky
rdivacky at FreeBSD.org
Thu Nov 2 08:04:11 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109016
Change 109016 by rdivacky at rdivacky_witten on 2006/11/02 08:03:49
Dont forget to print arguments in the newly added debug prints.
Affected files ...
.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#25 edit
Differences ...
==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#25 (text+ko) ====
@@ -1500,7 +1500,7 @@
#ifdef DEBUG
if (ldebug(getsid))
- printf(ARGS(getsid, ""));
+ printf(ARGS(getsid, "%i"), args->pid);
#endif
bsd.pid = args->pid;
@@ -1522,7 +1522,7 @@
#ifdef DEBUG
if (ldebug(getpriority))
- printf(ARGS(getpriority, ""));
+ printf(ARGS(getpriority, "%i, %i"), args->which, args->who);
#endif
bsd_args.which = args->which;
@@ -1539,7 +1539,7 @@
#ifdef DEBUG
if (ldebug(sethostname))
- printf(ARGS(sethostname, ""));
+ printf(ARGS(sethostname, "%s, %i"), args->hostname, args->len);
#endif
name[0] = CTL_KERN;
More information about the p4-projects
mailing list