diff options
Diffstat (limited to 'sys/arch/i386/isa/pcvt/Util/scon/scon.c')
-rw-r--r-- | sys/arch/i386/isa/pcvt/Util/scon/scon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/scon/scon.c b/sys/arch/i386/isa/pcvt/Util/scon/scon.c index 91732a8f672..6df718cfdda 100644 --- a/sys/arch/i386/isa/pcvt/Util/scon/scon.c +++ b/sys/arch/i386/isa/pcvt/Util/scon/scon.c @@ -461,7 +461,7 @@ char *argv[]; if(vflag) printf("processing option -c, setting current screen to %d\n",current); - if(ioctl(1, VGASETSCREEN, &screeninfo) == -1) + if(ioctl(fd, VGASETSCREEN, &screeninfo) == -1) { perror("ioctl VGASETSCREEN failed"); exit(1); |