summaryrefslogtreecommitdiff
path: root/usr.bin/tip
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2015-06-17 01:38:02 +0000
committerchristos <christos@NetBSD.org>2015-06-17 01:38:02 +0000
commit485fe48fc5ff963d498d5ab5743a931abceecf45 (patch)
tree5e292c7a6f884b84807cff2e0e1cecb62218b108 /usr.bin/tip
parent39641982d30c4dac8edaa6c9eff241176728d3d4 (diff)
add missing quote, remove some braces.
Diffstat (limited to 'usr.bin/tip')
-rw-r--r--usr.bin/tip/tip.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/usr.bin/tip/tip.c b/usr.bin/tip/tip.c
index 18cd4117a8f..14fec3f4193 100644
--- a/usr.bin/tip/tip.c
+++ b/usr.bin/tip/tip.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tip.c,v 1.57 2015/06/16 22:54:11 christos Exp $ */
+/* $NetBSD: tip.c,v 1.58 2015/06/17 01:38:02 christos Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\
#if 0
static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: tip.c,v 1.57 2015/06/16 22:54:11 christos Exp $");
+__RCSID("$NetBSD: tip.c,v 1.58 2015/06/17 01:38:02 christos Exp $");
#endif /* not lint */
/*
@@ -87,12 +87,11 @@ main(int argc, char *argv[])
goto cucommon;
}
- if (argc > 4) {
+ if (argc > 4)
tipusage();
- }
- if (!isatty(0)) {
- errx(EXIT_FAILURE, must be interactive");
- }
+
+ if (!isatty(0))
+ errx(EXIT_FAILURE, "must be interactive");
cmdlineBR = 0;
while((c = getopt(argc, argv, "v0123456789")) != -1) {