Module Name:    src
Committed By:   dyoung
Date:           Tue Apr 21 22:13:10 UTC 2009

Modified Files:
        src/sbin/ifconfig: ifconfig.c

Log Message:
Cosmetic: add some whitespace for my ease of reading.


To generate a diff of this commit:
cvs rdiff -u -r1.216 -r1.217 src/sbin/ifconfig/ifconfig.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/ifconfig/ifconfig.c
diff -u src/sbin/ifconfig/ifconfig.c:1.216 src/sbin/ifconfig/ifconfig.c:1.217
--- src/sbin/ifconfig/ifconfig.c:1.216	Tue Apr 21 21:57:14 2009
+++ src/sbin/ifconfig/ifconfig.c	Tue Apr 21 22:13:10 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ifconfig.c,v 1.216 2009/04/21 21:57:14 dyoung Exp $	*/
+/*	$NetBSD: ifconfig.c,v 1.217 2009/04/21 22:13:10 dyoung Exp $	*/
 
 /*-
  * Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
 #ifndef lint
 __COPYRIGHT("@(#) Copyright (c) 1983, 1993\
  The Regents of the University of California.  All rights reserved.");
-__RCSID("$NetBSD: ifconfig.c,v 1.216 2009/04/21 21:57:14 dyoung Exp $");
+__RCSID("$NetBSD: ifconfig.c,v 1.217 2009/04/21 22:13:10 dyoung Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -1215,7 +1215,7 @@
 
 	estrlcpy(ifdr.ifdr_name, ifname, sizeof(ifdr.ifdr_name));
 
-	if (ioctl(s, zflag ? SIOCZIFDATA:SIOCGIFDATA, &ifdr) == -1)
+	if (ioctl(s, zflag ? SIOCZIFDATA : SIOCGIFDATA, &ifdr) == -1)
 		err(EXIT_FAILURE, zflag ? "SIOCZIFDATA" : "SIOCGIFDATA");
 
 	ifi = &ifdr.ifdr_data;

Reply via email to