diff options
Diffstat (limited to 'usr.sbin/pcvt/set2061/main.c')
-rw-r--r-- | usr.sbin/pcvt/set2061/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/pcvt/set2061/main.c b/usr.sbin/pcvt/set2061/main.c index 03a482d..e16b1df 100644 --- a/usr.sbin/pcvt/set2061/main.c +++ b/usr.sbin/pcvt/set2061/main.c @@ -41,7 +41,7 @@ static char *id = * -hm start using 132 columns on my Elsa Winner * *---------------------------------------------------------------------------*/ - + #include <stdio.h> #include <fcntl.h> #include <machine/pcvt_ioctl.h> @@ -62,7 +62,7 @@ char *argv[]; int c; long freq = -1; int no = -1; - + while( (c = getopt(argc, argv, "f:n:")) != EOF) { switch(c) @@ -70,11 +70,11 @@ char *argv[]; case 'f': freq = atoi(optarg); break; - + case 'n': no = atoi(optarg); break; - + case '?': default: usage(); @@ -82,7 +82,7 @@ char *argv[]; } } - if(freq == -1 || no == -1) + if(freq == -1 || no == -1) usage(); if((fd = open("/dev/console", O_RDONLY)) < 0) |