diff options
author | joe <joe@FreeBSD.org> | 2000-12-17 17:03:05 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2000-12-17 17:03:05 +0000 |
commit | 8ec6857b998e9eea5c72c0e5bf5a7accbc102b07 (patch) | |
tree | c9af0dcfe5aec5d02ca1390666ab697579e9a344 /usr.sbin/crunch | |
parent | 702e01fe1e0b100c36375039e5a493cb1bf76b6a (diff) | |
download | FreeBSD-src-8ec6857b998e9eea5c72c0e5bf5a7accbc102b07.zip FreeBSD-src-8ec6857b998e9eea5c72c0e5bf5a7accbc102b07.tar.gz |
Clarify an ambiguous 'else' introduced by a recent commit.
Diffstat (limited to 'usr.sbin/crunch')
-rw-r--r-- | usr.sbin/crunch/crunchgen/crunchgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/crunch/crunchgen/crunchgen.c b/usr.sbin/crunch/crunchgen/crunchgen.c index 9fea5fa..1cf62da 100644 --- a/usr.sbin/crunch/crunchgen/crunchgen.c +++ b/usr.sbin/crunch/crunchgen/crunchgen.c @@ -550,10 +550,10 @@ void fillin_program(prog_t *p) */ if(!makeobj && !p->objdir && p->srcdir) { snprintf(line, sizeof line, "%s/%s", objprefix, p->realsrcdir); - if (is_dir(line)) + if (is_dir(line)) { if ((p->objdir = strdup(line)) == NULL) out_of_memory(); - else + } else p->objdir = p->realsrcdir; } /* |