Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/ifconfig whitespace at EOL
details: https://anonhg.NetBSD.org/src/rev/26fbcbc15ad1
branches: trunk
changeset: 504390:26fbcbc15ad1
user: itojun <itojun%NetBSD.org@localhost>
date: Thu Mar 01 08:35:16 2001 +0000
description:
whitespace at EOL
diffstat:
sbin/ifconfig/ifconfig.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r ca6d80ee9bb9 -r 26fbcbc15ad1 sbin/ifconfig/ifconfig.c
--- a/sbin/ifconfig/ifconfig.c Thu Mar 01 08:34:10 2001 +0000
+++ b/sbin/ifconfig/ifconfig.c Thu Mar 01 08:35:16 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ifconfig.c,v 1.102 2001/03/01 08:34:10 itojun Exp $ */
+/* $NetBSD: ifconfig.c,v 1.103 2001/03/01 08:35:16 itojun Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
#if 0
static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
#else
-__RCSID("$NetBSD: ifconfig.c,v 1.102 2001/03/01 08:34:10 itojun Exp $");
+__RCSID("$NetBSD: ifconfig.c,v 1.103 2001/03/01 08:35:16 itojun Exp $");
#endif
#endif /* not lint */
@@ -950,7 +950,7 @@
errx(1, "error in parsing address string: %s",
gai_strerror(ecode));
- if ((ecode = getaddrinfo(dst, NULL, &hints, &dstres)) != 0)
+ if ((ecode = getaddrinfo(dst, NULL, &hints, &dstres)) != 0)
errx(1, "error in parsing address string: %s",
gai_strerror(ecode));
@@ -2099,7 +2099,7 @@
if (ioctl(s, SIOCGIFCONF, &ifc) < 0)
err(1, "SIOCGIFCONF");
for (i = 0; i < ifc.ifc_len; ) {
- /* Copy the mininum ifreq into the buffer. */
+ /* Copy the mininum ifreq into the buffer. */
cp = ((caddr_t)ifc.ifc_req + i);
memcpy(ifrbuf, cp, sizeof(*ifr));
@@ -2304,7 +2304,7 @@
if (ioctl(s, SIOCGIFCONF, &ifc) < 0)
err(1, "SIOCGIFCONF");
for (i = 0; i < ifc.ifc_len; ) {
- /* Copy the mininum ifreq into the buffer. */
+ /* Copy the mininum ifreq into the buffer. */
cp = ((caddr_t)ifc.ifc_req + i);
memcpy(ifrbuf, cp, sizeof(*ifr));
Home |
Main Index |
Thread Index |
Old Index