diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-07 20:08:54 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-07 20:08:54 +0000 |
commit | 1e23bab9f98cce44a960d5ae48807ab362309d08 (patch) | |
tree | 29312feb4c1443d9fe8dccd3d1836e24a0dec83a /distrib/crunch | |
parent | 6e123c7c78e7ba5dcd99090f264770c48a4bd456 (diff) |
Fix misplaced parens.
Diffstat (limited to 'distrib/crunch')
-rw-r--r-- | distrib/crunch/crunchgen/crunchgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/crunch/crunchgen/crunchgen.c b/distrib/crunch/crunchgen/crunchgen.c index 2872196cfa3..c91d934dea6 100644 --- a/distrib/crunch/crunchgen/crunchgen.c +++ b/distrib/crunch/crunchgen/crunchgen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crunchgen.c,v 1.13 1997/09/07 20:03:13 millert Exp $ */ +/* $OpenBSD: crunchgen.c,v 1.14 1997/09/07 20:08:53 millert Exp $ */ /* * Copyright (c) 1994 University of Maryland * All Rights Reserved. @@ -564,7 +564,7 @@ void fillin_program_objs(prog_t *p, char *path) /* discover the objs from the srcdir Makefile */ snprintf(tempfname, sizeof(tempfname), ".tmp_%sXXXXXXXXXX", confname); - if ((fd = mkstemp(tempfname) == -1) || (f = fdopen(fd, "w")) == NULL) { + if ((fd = mkstemp(tempfname)) == -1 || (f = fdopen(fd, "w")) == NULL) { if (fd != -1) close(fd); perror(tempfname); |