summaryrefslogtreecommitdiff
path: root/sbin/atactl
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-03-14 06:51:43 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-03-14 06:51:43 +0000
commit589df74d6e3673fb8255ea0f6dbe205b69a73683 (patch)
tree90364789fc8ae5e67b30350658fc5c2e2b0fb4dd /sbin/atactl
parent50aefd34a9b151f57aa0a541ca4600e9269c8290 (diff)
Remove \n from err/errx/warn/warnx().
millert@ ok
Diffstat (limited to 'sbin/atactl')
-rw-r--r--sbin/atactl/atactl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/atactl/atactl.c b/sbin/atactl/atactl.c
index c491927ac31..e4f3ef4beaf 100644
--- a/sbin/atactl/atactl.c
+++ b/sbin/atactl/atactl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atactl.c,v 1.10 2002/02/16 21:27:33 millert Exp $ */
+/* $OpenBSD: atactl.c,v 1.11 2002/03/14 06:51:41 mpech Exp $ */
/* $NetBSD: atactl.c,v 1.4 1999/02/24 18:49:14 jwise Exp $ */
/*-
@@ -241,7 +241,7 @@ main(argc, argv)
if (strcmp(cmdname, commands[i].cmd_name) == 0)
break;
if (commands[i].cmd_name == NULL)
- errx(1, "unknown command: %s\n", cmdname);
+ errx(1, "unknown command: %s", cmdname);
(*commands[i].cmd_func)(argc, argv);