summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-07-15 03:04:31 +0000
committerimp <imp@FreeBSD.org>1999-07-15 03:04:31 +0000
commitedc82f2b819e4395a715e35e64582c165fa7acd9 (patch)
tree3e77c8ec85b6db3f9e50f2e920319d15df00f347 /usr.sbin/pccard
parent22b3a1ff3e436c4b063421f0b7c8200314db235a (diff)
downloadFreeBSD-src-edc82f2b819e4395a715e35e64582c165fa7acd9.zip
FreeBSD-src-edc82f2b819e4395a715e35e64582c165fa7acd9.tar.gz
Fix a dangling else warning from new egcs.
Diffstat (limited to 'usr.sbin/pccard')
-rw-r--r--usr.sbin/pccard/pccardd/file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pccard/pccardd/file.c b/usr.sbin/pccard/pccardd/file.c
index 344aa34..7be1ba0 100644
--- a/usr.sbin/pccard/pccardd/file.c
+++ b/usr.sbin/pccard/pccardd/file.c
@@ -26,7 +26,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: file.c,v 1.16 1998/04/25 18:10:10 hosokawa Exp $";
+ "$Id: file.c,v 1.17 1999/06/17 21:07:58 markm Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -336,7 +336,7 @@ memblk_tok(int force)
struct allocblk *mem;
int i, j;
- if ((i = num_tok()) >= 0)
+ if ((i = num_tok()) >= 0) {
if ((j = num_tok()) < 0)
error("illegal memory block");
else {
@@ -353,6 +353,7 @@ memblk_tok(int force)
}
return (mem);
}
+ }
if (force)
error("illegal or missing memory block spec");
return (0);
OpenPOWER on IntegriCloud