diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-08-10 16:48:42 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-08-10 16:48:42 +0000 |
commit | ee0edd4a71c034c6c09cb49456f99493f20666ad (patch) | |
tree | 9c4a0e6f8c1af32cca6fba67419f6834ea1d9fec /sys/arch/i386/isa/pcvt | |
parent | e2401e4acf3dd81e63e3fac75bf8419265182ebb (diff) |
allow -d option to work with -c [change screen]
Diffstat (limited to 'sys/arch/i386/isa/pcvt')
-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); |