Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat PR/50872: David Binderman: Use logical and i...
details: https://anonhg.NetBSD.org/src/rev/46d04e2ae555
branches: trunk
changeset: 343880:46d04e2ae555
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 29 18:21:15 2016 +0000
description:
PR/50872: David Binderman: Use logical and instead of arithmetic
diffstat:
usr.bin/netstat/if.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 162bccb26387 -r 46d04e2ae555 usr.bin/netstat/if.c
--- a/usr.bin/netstat/if.c Mon Feb 29 18:20:31 2016 +0000
+++ b/usr.bin/netstat/if.c Mon Feb 29 18:21:15 2016 +0000
@@ -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 @@
intpr_header(void)
{
- if (!sflag & !pflag) {
+ if (!sflag && !pflag) {
if (bflag) {
printf("%-5.5s %-5.5s %-13.13s %-17.17s "
"%10.10s %10.10s",
Home |
Main Index |
Thread Index |
Old Index