diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
commit | 4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (patch) | |
tree | 15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/pcvt/cursor/cursor.c | |
parent | 30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (diff) | |
download | FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.zip FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.sbin/pcvt/cursor/cursor.c')
-rw-r--r-- | usr.sbin/pcvt/cursor/cursor.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/pcvt/cursor/cursor.c b/usr.sbin/pcvt/cursor/cursor.c index 58fb5c7..94ce1d7 100644 --- a/usr.sbin/pcvt/cursor/cursor.c +++ b/usr.sbin/pcvt/cursor/cursor.c @@ -43,7 +43,7 @@ static char *id = * -hm adding option -d <device> * *---------------------------------------------------------------------------*/ - + #include <stdio.h> #include <fcntl.h> #include <sys/stat.h> @@ -67,7 +67,7 @@ char *argv[]; int end = -1; int dflag = -1; char *device; - + while( (c = getopt(argc, argv, "d:n:s:e:")) != EOF) { switch(c) @@ -76,15 +76,15 @@ char *argv[]; device = optarg; dflag = 1; break; - + case 'n': screen = atoi(optarg); break; - + case 's': start = atoi(optarg); break; - + case 'e': end = atoi(optarg); break; @@ -96,7 +96,7 @@ char *argv[]; } } - if(start == -1 || end == -1) + if(start == -1 || end == -1) usage(); if(dflag == -1) @@ -118,7 +118,7 @@ char *argv[]; if(screen == -1) { struct stat stat; - + if((fstat(fd, &stat)) == -1) { char buffer[80]; @@ -130,7 +130,7 @@ char *argv[]; screen = minor(stat.st_rdev); } - + cursorshape.start = start; cursorshape.end = end; cursorshape.screen_no = screen; |