diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-05-29 17:12:30 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-05-29 17:12:30 +0000 |
commit | 4a675d0d9d158b3db9a0ed25706536e3a5891e59 (patch) | |
tree | fe72c1840fee6fbbc401336c0bdecbf018a1e026 | |
parent | 50d27889f5158a7e05e7bf1eb9fa8eb62f344da5 (diff) | |
download | FreeBSD-src-4a675d0d9d158b3db9a0ed25706536e3a5891e59.zip FreeBSD-src-4a675d0d9d158b3db9a0ed25706536e3a5891e59.tar.gz |
A space between switch and open-paren. Don't explicitly cast the value
returned by getopt(3) to 'char' in a switch.
-rw-r--r-- | usr.bin/tty/tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tty/tty.c b/usr.bin/tty/tty.c index bcb34ff..4710e16 100644 --- a/usr.bin/tty/tty.c +++ b/usr.bin/tty/tty.c @@ -60,7 +60,7 @@ main(int argc, char *argv[]) sflag = 0; while ((ch = getopt(argc, argv, "s")) != -1) - switch((char)ch) { + switch (ch) { case 's': sflag = 1; break; |