summaryrefslogtreecommitdiffstats
path: root/usr.bin/tty
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-05-29 17:12:30 +0000
committerjmallett <jmallett@FreeBSD.org>2002-05-29 17:12:30 +0000
commit4a675d0d9d158b3db9a0ed25706536e3a5891e59 (patch)
treefe72c1840fee6fbbc401336c0bdecbf018a1e026 /usr.bin/tty
parent50d27889f5158a7e05e7bf1eb9fa8eb62f344da5 (diff)
downloadFreeBSD-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.
Diffstat (limited to 'usr.bin/tty')
-rw-r--r--usr.bin/tty/tty.c2
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;
OpenPOWER on IntegriCloud