diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-06-23 14:26:38 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-06-23 14:26:38 +0000 |
commit | b34d67cf865b18ed97a75bc1c4caf7c458944cad (patch) | |
tree | a2fdfc9986a73fa3b7d83f5c026aa7c302681c60 /sbin/ifconfig/ifconfig.c | |
parent | fb67fb37e661d86570da081f43166fa64ce76275 (diff) |
iface description is not an array of ptr but rather just a string; jcs@ ok
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 9c6c471c324..db005bdaf0b 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.145 2005/06/12 00:42:55 henning Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.146 2005/06/23 14:26:37 mickey Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -2120,7 +2120,7 @@ status(int link, struct sockaddr_dl *sdl) struct ifmediareq ifmr; struct ifreq ifrdesc; int *media_list, i; - char *ifdescr[IFDESCRSIZE]; + char ifdescr[IFDESCRSIZE]; printf("%s: ", name); printb("flags", flags, IFFBITS); |