diff options
Diffstat (limited to 'lib/libc/net/if_nameindex.c')
-rw-r--r-- | lib/libc/net/if_nameindex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/if_nameindex.c b/lib/libc/net/if_nameindex.c index 11c544b20ee..123ac85ad69 100644 --- a/lib/libc/net/if_nameindex.c +++ b/lib/libc/net/if_nameindex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nameindex.c,v 1.11 2015/10/23 13:09:19 claudio Exp $ */ +/* $OpenBSD: if_nameindex.c,v 1.12 2016/12/15 20:50:36 krw Exp $ */ /* $KAME: if_nameindex.c,v 1.7 2000/11/24 08:17:20 itojun Exp $ */ /*- @@ -78,7 +78,7 @@ struct if_nameindex * if_nameindex(void) { - struct if_nameindex_msg *ifnm = NULL; + struct if_nameindex_msg *ifnm = NULL; struct if_nameindex *ifni = NULL, *ifni2; char *cp; size_t nbytes, needed; @@ -92,7 +92,7 @@ if_nameindex(void) mib[4] = NET_RT_IFNAMES; mib[5] = 0; /* no flags */ while (1) { - struct if_nameindex_msg *buf = NULL; + struct if_nameindex_msg *buf = NULL; if (sysctl(mib, 6, NULL, &needed, NULL, 0) == -1) goto out; |