diff options
| author | wiz <wiz@NetBSD.org> | 2003-01-06 20:30:28 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2003-01-06 20:30:28 +0000 |
| commit | 1035faff1d69d2b2b87d1edb2ef3c0b0be73af7a (patch) | |
| tree | 4bb2a96f03fc8e94de278ea70f7bc8d246d7e9b5 /usr.bin/patch/util.c | |
| parent | eca381fce47f9f7c9e56dd33f06c3deea8ea319a (diff) | |
writable, not writeable.
Diffstat (limited to 'usr.bin/patch/util.c')
| -rw-r--r-- | usr.bin/patch/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/patch/util.c b/usr.bin/patch/util.c index 813604f707c..3339664465c 100644 --- a/usr.bin/patch/util.c +++ b/usr.bin/patch/util.c @@ -1,7 +1,7 @@ -/* $NetBSD: util.c,v 1.12 2002/03/16 22:36:42 kristerw Exp $ */ +/* $NetBSD: util.c,v 1.13 2003/01/06 20:30:41 wiz Exp $ */ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: util.c,v 1.12 2002/03/16 22:36:42 kristerw Exp $"); +__RCSID("$NetBSD: util.c,v 1.13 2003/01/06 20:30:41 wiz Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -290,7 +290,7 @@ ask(const char *pat, ...) write(1, buf, strlen(buf)); r = read(1, buf, sizeof buf); } else if ((ttyfd = open("/dev/tty", 2)) >= 0 && isatty(ttyfd)) { - /* might be deleted or unwriteable */ + /* might be deleted or unwritable */ write(ttyfd, buf, strlen(buf)); r = read(ttyfd, buf, sizeof buf); Close(ttyfd); |
