From c49a505574433aade52eb7f01beb3c164fbcdf29 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 23 May 2024 14:52:16 -0400 Subject: kernel: procfs: Write newline after output Signed-off-by: Ian Moffett --- sys/fs/procfs_subr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/fs') diff --git a/sys/fs/procfs_subr.c b/sys/fs/procfs_subr.c index e368d56..be93dd0 100644 --- a/sys/fs/procfs_subr.c +++ b/sys/fs/procfs_subr.c @@ -41,7 +41,7 @@ procfs_ver_read(struct proc_entry *p, struct sio_txn *sio) char buf[1024]; size_t len; - len = snprintf(buf, sizeof(buf), "Hyra/%s v%s: %s (%s)", + len = snprintf(buf, sizeof(buf), "Hyra/%s v%s: %s (%s)\n", HYRA_ARCH, HYRA_VERSION, HYRA_BUILDDATE, HYRA_BUILDBRANCH); @@ -68,7 +68,7 @@ procfs_memstat_read(struct proc_entry *p, struct sio_txn *sio) "ReservedMem: %d KiB\n" "AvailableMem: %d KiB\n" "AllocatedMem: %d KiB\n" - "VMemObjCount: %d", + "VMemObjCount: %d\n", pstat->total_kib, pstat->reserved_kib, pstat->avl_kib, -- cgit v1.2.3