aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/chvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/chvt.c b/toys/other/chvt.c
index 5016b9b5..65442657 100644
--- a/toys/other/chvt.c
+++ b/toys/other/chvt.c
@@ -21,7 +21,7 @@ config CHVT
void chvt_main(void)
{
- int vtnum, fd;
+ int vtnum, fd = fd;
char *consoles[]={"/dev/console", "/dev/vc/0", "/dev/tty", NULL}, **cc;
vtnum=atoi(*toys.optargs);