From a711079c007e2a944704bc1614d4ff5f2f38c078 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 21 Aug 1997 21:40:25 +0000 Subject: no need for \n --- sys/arch/i386/stand/boot/cmd.c | 4 ++-- sys/stand/boot/cmd.c | 4 ++-- 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) -- cgit v1.2.3