summaryrefslogtreecommitdiffstats
path: root/games/worms
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2016-03-05 07:47:15 +0000
committertb <tb@openbsd.org>2016-03-05 07:47:15 +0000
commitc47f841b476f6aa7f3ce7962735e7898eef4eb47 (patch)
treedc96ce466835156223ceac22a9340667be9a7345 /games/worms
parentAlthough we always have en_US.UTF-8 on OpenBSD, some platforms do not, (diff)
downloadwireguard-openbsd-c47f841b476f6aa7f3ce7962735e7898eef4eb47.tar.xz
wireguard-openbsd-c47f841b476f6aa7f3ce7962735e7898eef4eb47.zip
KNF: wrap three overly long lines. No binary change.
Diffstat (limited to 'games/worms')
-rw-r--r--games/worms/worms.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/games/worms/worms.c b/games/worms/worms.c
index 1308fedf9d9..6d8c68ea102 100644
--- a/games/worms/worms.c
+++ b/games/worms/worms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: worms.c,v 1.27 2016/03/04 14:37:28 mestre Exp $ */
+/* $OpenBSD: worms.c,v 1.28 2016/03/05 07:47:15 tb Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -197,7 +197,8 @@ main(int argc, char *argv[])
case 'd':
delay = (time_t)strtonum(optarg, 0, 1000, &errstr);
if (errstr)
- errx(1, "delay (0-1000) is %s: %s", errstr, optarg);
+ errx(1, "delay (0-1000) is %s: %s", errstr,
+ optarg);
break;
case 'f':
field = "WORM";
@@ -205,12 +206,14 @@ main(int argc, char *argv[])
case 'l':
length = strtonum(optarg, 2, 1024, &errstr);
if (errstr)
- errx(1, "length (2-1024) is %s: %s", errstr, optarg);
+ errx(1, "length (2-1024) is %s: %s", errstr,
+ optarg);
break;
case 'n':
number = strtonum(optarg, 1, 100, &errstr);
if (errstr)
- errx(1, "number of worms (1-100) is %s: %s", errstr, optarg);
+ errx(1, "number of worms (1-100) is %s: %s",
+ errstr, optarg);
break;
case 't':
trail = '.';