diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 1999-12-04 03:19:15 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 1999-12-04 03:19:15 +0000 |
| commit | d68e2acd952631472ec8c60ec409be20af5e207f (patch) | |
| tree | 35eb7127f1ccb472de1d606ed6e36c5f453bba76 /usr.bin/pr | |
| parent | b26a5ea6feb83717646613495c71752439adfe0d (diff) | |
Notes
Diffstat (limited to 'usr.bin/pr')
| -rw-r--r-- | usr.bin/pr/pr.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/pr/pr.c b/usr.bin/pr/pr.c index d01728a8d440..850ecdadac7c 100644 --- a/usr.bin/pr/pr.c +++ b/usr.bin/pr/pr.c @@ -1709,12 +1709,14 @@ setup(argc, argv) ++sflag; if (eoptarg == NULL) schar = SCHAR; - else + else { schar = *eoptarg++; - if (*eoptarg != '\0') { - (void)fprintf(err, - "pr: invalid value for -s %s\n", eoptarg); - return(1); + if (*eoptarg != '\0') { + (void)fprintf(err, + "pr: invalid value for -s %s\n", + eoptarg); + return(1); + } } break; case 't': |
