diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2002-06-09 05:47:28 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2002-06-09 05:47:28 +0000 |
commit | aa788cfe003b0c53a76b1fb2782c50b95c665905 (patch) | |
tree | 4f31fc9073ed0abd769fa8bbb17768007717136c /bin/ksh/io.c | |
parent | aaee1c091ba0c57cec98797351db4b0862b0bf1f (diff) |
knf
Diffstat (limited to 'bin/ksh/io.c')
-rw-r--r-- | bin/ksh/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/io.c b/bin/ksh/io.c index 7113d6fa0b4..0516a16edb3 100644 --- a/bin/ksh/io.c +++ b/bin/ksh/io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.10 2001/09/19 10:58:07 mpech Exp $ */ +/* $OpenBSD: io.c,v 1.11 2002/06/09 05:47:27 todd Exp $ */ /* * shell buffered IO and formatted output @@ -365,7 +365,7 @@ check_fd(name, mode, emsgp) } fl &= O_ACCMODE; #ifdef OS2 - if (mode == W_OK ) { + if (mode == W_OK ) { if (setmode(fd, O_TEXT) == -1) { if (emsgp) *emsgp = "couldn't set write mode"; @@ -375,7 +375,7 @@ check_fd(name, mode, emsgp) if (setmode(fd, O_BINARY) == -1) { if (emsgp) *emsgp = "couldn't set read mode"; - return -1; + return -1; } #else /* OS2 */ /* X_OK is a kludge to disable this check for dups (x<&1): |