Module Name: src
Committed By: christos
Date: Mon Feb 29 18:21:15 UTC 2016
Modified Files:
src/usr.bin/netstat: if.c
Log Message:
PR/50872: David Binderman: Use logical and instead of arithmetic
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/usr.bin/netstat/if.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/netstat/if.c
diff -u src/usr.bin/netstat/if.c:1.82 src/usr.bin/netstat/if.c:1.83
--- src/usr.bin/netstat/if.c:1.82 Sat Sep 19 20:30:04 2015
+++ src/usr.bin/netstat/if.c Mon Feb 29 13:21:15 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.82 2015/09/20 00:30:04 mrg Exp $ */
+/* $NetBSD: if.c,v 1.83 2016/02/29 18:21:15 christos Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
#else
-__RCSID("$NetBSD: if.c,v 1.82 2015/09/20 00:30:04 mrg Exp $");
+__RCSID("$NetBSD: if.c,v 1.83 2016/02/29 18:21:15 christos Exp $");
#endif
#endif /* not lint */
@@ -144,7 +144,7 @@ static void
intpr_header(void)
{
- if (!sflag & !pflag) {
+ if (!sflag && !pflag) {
if (bflag) {
printf("%-5.5s %-5.5s %-13.13s %-17.17s "
"%10.10s %10.10s",