From 3f4e5df9a2b19ba9983fcd385cfd2ab57002d466 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Thu, 17 Sep 2020 14:53:28 -0700 Subject: [PATCH] Fixed formatting in error message --- microscript/ILibDuktape_ScriptContainer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/microscript/ILibDuktape_ScriptContainer.c b/microscript/ILibDuktape_ScriptContainer.c index 4ec684a..c23bd29 100644 --- a/microscript/ILibDuktape_ScriptContainer.c +++ b/microscript/ILibDuktape_ScriptContainer.c @@ -449,10 +449,11 @@ void ILibDuktape_ScriptContainer_CheckEmbedded(char **script, int *scriptLen) int x = readlink("/proc/curproc/file", exePath, sizeof(exePath)); if (x < 0 || x >= sizeof(exePath)) { - printf("You'll need to mount procfs, which isn't mounted by default on FreeBSD. Add the following line to /etc/fstab\n"); + printf("\nYou'll need to mount procfs, which isn't mounted by default on FreeBSD.\n"); + printf("Add the following line to /etc/fstab\n"); printf(" proc /proc procfs rw 0 0\n\n"); printf("If you don't reboot after, then you can manually mount with the command:\n"); - printf(" mount - t procfs proc / proc\n\n"); + printf(" mount -t procfs proc /proc\n\n"); ILIBCRITICALEXIT(246); } exePath[x] = 0;