Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 08:04:10 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 109016 for review
Message-ID:  <200611020804.kA284A2a089624@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109016

Change 109016 by rdivacky@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611020804.kA284A2a089624>