diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-12 21:51:36 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-12 21:51:36 +0000 |
commit | d6fe849bd3209d7689e1c64d7c0a65efd1dfb299 (patch) | |
tree | b8920c49cdb91951637575d63e2578148774f46b /sys/stand | |
parent | 50596454deda6587438a2da4b850d67ffa20434a (diff) |
new cons
Diffstat (limited to 'sys/stand')
-rw-r--r-- | sys/stand/boot/cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c index edcd007d773..c18d7e17ec5 100644 --- a/sys/stand/boot/cmd.c +++ b/sys/stand/boot/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.19 1997/08/06 18:45:02 mickey Exp $ */ +/* $OpenBSD: cmd.c,v 1.20 1997/08/12 21:51:35 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -244,10 +244,10 @@ readline(buf, to) register char *p = buf, *pe = buf, ch; time_t tt; - for (tt = getsecs() + to; getsecs() < tt && !ischar(); ) + for (tt = getsecs() + to; getsecs() < tt && !cnischar(); ) ; - if (!ischar()) + if (!cnischar()) return 0; while (1) { |