Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 13:11:57 -0700 (PDT)
From:      Brian Feldman <green@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 19927 for review
Message-ID:  <200210222011.g9MKBv1D029579@repoman.freebsd.org>

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

Change 19927 by green@green_laptop_2 on 2002/10/22 13:11:08

	Woops, forgot to remove debugging fprintfs.

Affected files ...

.. //depot/projects/trustedbsd/mac/bin/ps/print.c#15 edit

Differences ...

==== //depot/projects/trustedbsd/mac/bin/ps/print.c#15 (text+ko) ====

@@ -766,16 +766,12 @@
 
 	if (mac_prepare_process_label(&label) == -1) {
 		perror("mac_prepare_process_label");
-		fprintf(stderr, "returning size %d for pid %d\n", 0,
-		    k->ki_p->ki_pid);
 		return (0);
 	}
 	error = mac_get_pid(k->ki_p->ki_pid, label);
 	if (error == 0 && mac_to_text(label, &string) == 0) {
 		size = strlen(string);
 		free(string);
-		fprintf(stderr, "returning size %d for pid %d\n", size,
-		    k->ki_p->ki_pid);
 	}
 	mac_free(label);
 	return (size);

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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