summaryrefslogtreecommitdiff
blob: a1a1464ebba34d93311c1d752ac5f49d5fb1f118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Slightly prettier error message

--- proc/readproc.c
+++ proc/readproc.c
@@ -858,2 +858,2 @@
     if(file2str("/proc/self", "stat", sbuf, sizeof sbuf) == -1){
-        fprintf(stderr, "Error, do this: mount -t proc none /proc\n");
+        fprintf(stderr, "Error, do this: mount -t proc proc /proc\n");
--- proc/sysinfo.c
+++ proc/sysinfo.c
@@ -31,4 +31,4 @@
 "  To mount /proc at boot you need an /etc/fstab line like:\n"	\
-"      /proc   /proc   proc    defaults\n"			\
-"  In the meantime, mount /proc /proc -t proc\n"
+"      proc   /proc   proc    defaults\n"			\
+"  In the meantime, mount proc /proc -t proc\n"