diff options
Diffstat (limited to 'bin/csh/file.c')
-rw-r--r-- | bin/csh/file.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/csh/file.c b/bin/csh/file.c index 60b84675b20..638c6deda3f 100644 --- a/bin/csh/file.c +++ b/bin/csh/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.29 2017/06/27 15:02:18 anton Exp $ */ +/* $OpenBSD: file.c,v 1.30 2017/06/29 04:23:12 deraadt Exp $ */ /* $NetBSD: file.c,v 1.11 1996/11/08 19:34:37 christos Exp $ */ /*- @@ -367,10 +367,8 @@ cl_reprint(struct cmdline *cl, int c) static int cl_status(struct cmdline *cl, int c) { - int nothing = 0; - cl->cursor = 0; - ioctl(cl->fdin, TIOCSTAT, ¬hing); + ioctl(cl->fdin, TIOCSTAT); return 0; } |