aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/init
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-23 14:52:57 -0400
committerIan Moffett <ian@osmora.org>2024-05-23 14:52:57 -0400
commit78f39e7a12aaa0c27bcd105a6e4f15f209605746 (patch)
treef0ddba6fd303aa9296bb0c30030f29927c3cc446 /usr.sbin/init
parentc49a505574433aade52eb7f01beb3c164fbcdf29 (diff)
init: mshell: Don't use newline in print_file()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.sbin/init')
-rw-r--r--usr.sbin/init/mshell.c2
1 files changed, 1 insertions, 1 deletions
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);