diff options
| author | cgd <cgd@NetBSD.org> | 1996-10-14 04:49:21 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1996-10-14 04:49:21 +0000 |
| commit | 40bcaca9ac76a29bfe81460f4e758a60008d652f (patch) | |
| tree | 346afdaab427bf3c6b6d1058d67b3ebe425cec6a | |
| parent | 02fb4a125593694f551bfe0db2277fb42aaa2a7e (diff) | |
fix a bogon in some new functionality apparently added in the last
commit (which was supposed only to back out the printf->kprintf changes).
The new functionality is: if the user enters control-D, return an error.
| -rw-r--r-- | sys/lib/libsa/getfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/getfile.c b/sys/lib/libsa/getfile.c index d4ec97de1d1..9388bf6b9cc 100644 --- a/sys/lib/libsa/getfile.c +++ b/sys/lib/libsa/getfile.c @@ -1,4 +1,4 @@ -/* $NetBSD: getfile.c,v 1.5 1996/10/13 02:27:30 christos Exp $ */ +/* $NetBSD: getfile.c,v 1.6 1996/10/14 04:49:21 cgd Exp $ */ /*- * Copyright (c) 1993 @@ -36,7 +36,7 @@ */ #include "stand.h" -#define CTRL(x) (a&037) +#define CTRL(x) (x&037) int getfile(prompt, mode) |
