Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2007 16:37:52 GMT
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 114243 for review
Message-ID:  <200702081637.l18GbqjV044061@repoman.freebsd.org>

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

Change 114243 by csjp@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)



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