Module Name: src Committed By: christos Date: Wed Jun 17 01:38:02 UTC 2015
Modified Files: src/usr.bin/tip: tip.c Log Message: add missing quote, remove some braces. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/usr.bin/tip/tip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/tip/tip.c diff -u src/usr.bin/tip/tip.c:1.57 src/usr.bin/tip/tip.c:1.58 --- src/usr.bin/tip/tip.c:1.57 Tue Jun 16 18:54:11 2015 +++ src/usr.bin/tip/tip.c Tue Jun 16 21:38:02 2015 @@ -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, 19 #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) {