diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-08-22 23:28:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-08-22 23:28:20 +0000 |
commit | 40ce67398c912ed0ce87a1dd392584d833d124b0 (patch) | |
tree | 0656de3334db4af4bb12c1740b323fab77400bfd /usr.bin/mg/fileio.c | |
parent | f40449884cb2307e22e88fb80855d9000a51d915 (diff) |
knf
Diffstat (limited to 'usr.bin/mg/fileio.c')
-rw-r--r-- | usr.bin/mg/fileio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/fileio.c b/usr.bin/mg/fileio.c index 5a9beb4c3db..493e2defa7f 100644 --- a/usr.bin/mg/fileio.c +++ b/usr.bin/mg/fileio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fileio.c,v 1.33 2002/07/25 16:37:54 vincent Exp $ */ +/* $OpenBSD: fileio.c,v 1.34 2002/08/22 23:28:19 deraadt Exp $ */ /* * POSIX fileio.c @@ -53,12 +53,12 @@ ffwopen(const char *fn, BUFFER *bp) ffp = NULL; ewprintf("Cannot open file for writing : %s", strerror(errno)); return (FIOERR); - } + } if ((ffp = fdopen(fd, "w")) == NULL) { ewprintf("Cannot open file for writing : %s", strerror(errno)); close(fd); - return (FIOERR); + return (FIOERR); } /* |