summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-21 21:40:25 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-21 21:40:25 +0000
commita711079c007e2a944704bc1614d4ff5f2f38c078 (patch)
tree809855a9a76b05b869138782a5c7cfa90066e8a0
parente7b2359610f24d58467a3d0265ef61add214786d (diff)
no need for \n
-rw-r--r--sys/arch/i386/stand/boot/cmd.c4
-rw-r--r--sys/stand/boot/cmd.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/stand/boot/cmd.c b/sys/arch/i386/stand/boot/cmd.c
index f9ff84513fb..fff1891640c 100644
--- a/sys/arch/i386/stand/boot/cmd.c
+++ b/sys/arch/i386/stand/boot/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.24 1997/08/21 19:07:29 mickey Exp $ */
+/* $OpenBSD: cmd.c,v 1.25 1997/08/21 21:40:24 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -406,7 +406,7 @@ Xtty()
dev_t dev;
if (cmd.argc == 1)
- printf("%s\n", ttyname(0));
+ printf("%s", ttyname(0));
else {
dev = ttydev(cmd.argv[1]);
if (dev == NODEV)
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c
index f9ff84513fb..fff1891640c 100644
--- a/sys/stand/boot/cmd.c
+++ b/sys/stand/boot/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.24 1997/08/21 19:07:29 mickey Exp $ */
+/* $OpenBSD: cmd.c,v 1.25 1997/08/21 21:40:24 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -406,7 +406,7 @@ Xtty()
dev_t dev;
if (cmd.argc == 1)
- printf("%s\n", ttyname(0));
+ printf("%s", ttyname(0));
else {
dev = ttydev(cmd.argv[1]);
if (dev == NODEV)