diff options
author | Ian Moffett <ian@osmora.org> | 2024-05-23 14:52:16 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-05-23 14:52:16 -0400 |
commit | c49a505574433aade52eb7f01beb3c164fbcdf29 (patch) | |
tree | ab0223780b07f457d0a308b9dcb7818cfb29ad97 | |
parent | d7a3a7652d36201f37e515a08a7f31a72d2bde29 (diff) |
kernel: procfs: Write newline after output
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/fs/procfs_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |