summaryrefslogtreecommitdiff
path: root/usr.bin/mg/fileio.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-08-22 23:28:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-08-22 23:28:20 +0000
commit40ce67398c912ed0ce87a1dd392584d833d124b0 (patch)
tree0656de3334db4af4bb12c1740b323fab77400bfd /usr.bin/mg/fileio.c
parentf40449884cb2307e22e88fb80855d9000a51d915 (diff)
knf
Diffstat (limited to 'usr.bin/mg/fileio.c')
-rw-r--r--usr.bin/mg/fileio.c6
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);
}
/*