From 78f39e7a12aaa0c27bcd105a6e4f15f209605746 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 23 May 2024 14:52:57 -0400 Subject: init: mshell: Don't use newline in print_file() Signed-off-by: Ian Moffett --- usr.sbin/init/mshell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin') diff --git a/usr.sbin/init/mshell.c b/usr.sbin/init/mshell.c index a361b27..a1c2c3b 100644 --- a/usr.sbin/init/mshell.c +++ b/usr.sbin/init/mshell.c @@ -82,7 +82,7 @@ print_file(const char *path) if (len > 0) { buf[len] = '\0'; - printf("%s\n", buf); + printf("%s", buf); } close(fd); -- cgit v1.2.3