PERFORCE change 114243 for review

Christian S.J. Peron csjp at FreeBSD.org
Thu Feb 8 16:37:56 UTC 2007


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

Change 114243 by csjp at csjp_rnd01 on 2007/02/08 16:37:35

	Tweak printing of diagnostic messages

Affected files ...

.. //depot/projects/zcopybpf/utils/bpfnull/bpfnull.c#13 edit

Differences ...

==== //depot/projects/zcopybpf/utils/bpfnull/bpfnull.c#13 (text+ko) ====

@@ -153,11 +153,10 @@
 			fprintf(stderr,"owned by select\n");
 			err(1, "select failed");
 		}
+		if (vflag)
+			(void) fprintf(stderr, "select wakeup\n");
 		if (n != 0 && !FD_ISSET(fd, &r_set))
 			printf("No timeout and fd is not ready!\n");
-		if (vflag)
-			(void) fprintf(stderr,
-			    "DEBUG: wokeup and bpf is ready to read from: %d\n", n);
 		if (zflag == 0) {
 			n = read(fd, pbuf, bflag);
 			if (n < 0)


More information about the p4-projects mailing list