summaryrefslogtreecommitdiff
path: root/bin/mt
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-12 04:01:38 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-12 04:01:38 +0000
commitdd4c5253ba39d52ccb95112c5b7c973f94cba86d (patch)
tree8a4c6c93fe2e99204a48be388d28d4b278f6356c /bin/mt
parent4e984ea1ea1f7f416aabda773df499637d3b751b (diff)
Don't put newline's in warnx()
Diffstat (limited to 'bin/mt')
-rw-r--r--bin/mt/mtrmt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/mt/mtrmt.c b/bin/mt/mtrmt.c
index 81c3cdd6cd1..14fb14665a1 100644
--- a/bin/mt/mtrmt.c
+++ b/bin/mt/mtrmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mtrmt.c,v 1.6 1997/06/18 19:23:29 kstailey Exp $ */
+/* $OpenBSD: mtrmt.c,v 1.7 1997/09/12 04:01:37 millert Exp $ */
/* $NetBSD: mtrmt.c,v 1.2 1996/03/06 06:22:07 scottr Exp $ */
/*-
@@ -269,7 +269,7 @@ rmtreply(cmd)
if (cp > code && *--cp == '\n')
*cp = '\0';
- warnx("Protocol to remote tape server botched (code \"%s\").\n",
+ warnx("Protocol to remote tape server botched (code \"%s\").",
code);
rmtconnaborted();
}
@@ -304,7 +304,7 @@ rmtgets(line, len)
len--;
}
*cp = '\0';
- warnx("Protocol to remote tape server botched.\n");
- warnx("(rmtgets got \"%s\").\n", line);
+ warnx("Protocol to remote tape server botched.");
+ warnx("(rmtgets got \"%s\").", line);
rmtconnaborted();
}