diff options
author | billf <billf@FreeBSD.org> | 1999-10-15 17:33:24 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-10-15 17:33:24 +0000 |
commit | ba346000449c73bfcd9d9c6074e3c1c303fdc8ac (patch) | |
tree | 292e1c4254301bee9f4e38eac0990b0bd43f9f2d /usr.sbin/vidcontrol/vidcontrol.c | |
parent | 108cfbdf7cf39b79bb4d0d9ed64dcc64eef8a878 (diff) | |
download | FreeBSD-src-ba346000449c73bfcd9d9c6074e3c1c303fdc8ac.zip FreeBSD-src-ba346000449c73bfcd9d9c6074e3c1c303fdc8ac.tar.gz |
-Wall fix: ambigious else
Diffstat (limited to 'usr.sbin/vidcontrol/vidcontrol.c')
-rw-r--r-- | usr.sbin/vidcontrol/vidcontrol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.c b/usr.sbin/vidcontrol/vidcontrol.c index efa6c2d..d34ff7b 100644 --- a/usr.sbin/vidcontrol/vidcontrol.c +++ b/usr.sbin/vidcontrol/vidcontrol.c @@ -81,11 +81,12 @@ mkfullname(const char *s1, const char *s2, const char *s3) int f; f = strlen(s1) + strlen(s2) + strlen(s3) + 1; - if (f > bufl) + if (f > bufl) { if (buf) buf = (char *)realloc(buf, f); else buf = (char *)malloc(f); + } if (!buf) { bufl = 0; return(NULL); |