From b34d67cf865b18ed97a75bc1c4caf7c458944cad Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 23 Jun 2005 14:26:38 +0000 Subject: iface description is not an array of ptr but rather just a string; jcs@ ok --- sbin/ifconfig/ifconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin') 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); -- cgit v1.2.3