diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-08-30 03:52:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-08-30 03:52:22 +0000 |
commit | b5fa080aa14bd4f83c34f36f59202c5fda62f0a2 (patch) | |
tree | 793f1a5b3a0cd2ac12a891b676c8d234848c2a5f /sbin | |
parent | 7d7a9d369acaf4f088e8ee491649984c8995ace8 (diff) |
whitespace, found while pondering improvements to sffdump
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 6 | ||||
-rw-r--r-- | sbin/ifconfig/sff.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 543e09f0d6e..85785d39420 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.410 2019/08/26 15:23:49 claudio Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.411 2019/08/30 03:52:20 deraadt Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -2515,7 +2515,7 @@ join_status(void) ja.ja_node = jn; ja.ja_size = jsz * sizeof(*jn); strlcpy(ja.ja_ifname, name, sizeof(ja.ja_ifname)); - + if ((r = ioctl(s, SIOCG80211JOINALL, &ja)) != 0) { if (errno == E2BIG) { jsz += 100; @@ -6336,7 +6336,7 @@ unsetrdomain(const char *ignored, int alsoignored) { strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); ifr.ifr_rdomainid = 0; - if (ioctl(s, SIOCSIFRDOMAIN, (caddr_t)&ifr) == -1) + if (ioctl(s, SIOCSIFRDOMAIN, (caddr_t)&ifr) == -1) warn("SIOCSIFRDOMAIN"); } #endif diff --git a/sbin/ifconfig/sff.c b/sbin/ifconfig/sff.c index a2f636de835..7a4ff4e4e54 100644 --- a/sbin/ifconfig/sff.c +++ b/sbin/ifconfig/sff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sff.c,v 1.20 2019/08/29 03:08:50 dlg Exp $ */ +/* $OpenBSD: sff.c,v 1.21 2019/08/30 03:52:21 deraadt Exp $ */ /* * Copyright (c) 2019 David Gwynne <dlg@openbsd.org> @@ -93,8 +93,8 @@ struct sff_media_map { /* using SFF-8665 et al */ #define SFF8024_ID_CXP2 0x12 /* aka CXP28, or later */ #define SFF8024_ID_CDFP 0x13 /* style 1/style 2 */ -#define SFF8024_ID_HD4X_FAN 0x14 /* shielded mini multilane HD 4X fanout */ -#define SFF8024_ID_HD8X_FAN 0x15 /* shielded mini multilane HD 8X fanout */ +#define SFF8024_ID_HD4X_FAN 0x14 /* shielded mini multilane HD 4X fanout */ +#define SFF8024_ID_HD8X_FAN 0x15 /* shielded mini multilane HD 8X fanout */ #define SFF8024_ID_CDFP3 0x16 /* style 3 */ #define SFF8024_ID_uQSFP 0x17 /* microQSFP */ #define SFF8024_ID_QSFP_DD 0x18 /* QSFP-DD double density 8x */ |