summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorPhilipp Buehler <pb@cvs.openbsd.org>2004-04-27 17:33:53 +0000
committerPhilipp Buehler <pb@cvs.openbsd.org>2004-04-27 17:33:53 +0000
commitd935effe1ab282e6b24402d685fc02dc089f85ea (patch)
treed491a8f84c8babed123ebfa24e59af85378f3583 /sbin
parentc2f5b644f02aadc841cc453351e440a643679c18 (diff)
missing ';' in actually unreached code (pointed out by logix(at)franken.de)
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index a136e391001..aee4fbf635d 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.93 2004/03/18 20:52:13 mcbride Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.94 2004/04/27 17:33:52 pb Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -77,7 +77,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
#else
-static const char rcsid[] = "$OpenBSD: ifconfig.c,v 1.93 2004/03/18 20:52:13 mcbride Exp $";
+static const char rcsid[] = "$OpenBSD: ifconfig.c,v 1.94 2004/04/27 17:33:52 pb Exp $";
#endif
#endif /* not lint */
@@ -753,7 +753,7 @@ printif(struct ifreq *ifrm, int ifaliases)
inb = realloc(inbuf, len);
if (inb == NULL) {
if (inbuf)
- free(inbuf)
+ free(inbuf);
err(1, "malloc");
}
ifc.ifc_buf = inbuf = inb;