PERFORCE change 19927 for review

Brian Feldman green at freebsd.org
Tue Oct 22 20:11:57 GMT 2002


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

Change 19927 by green at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list