Annotation of /trunk/procps/patches/procps-3.2.5-proc-mount.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 588 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 588 byte(s)
-import
1 | niro | 153 | --- proc/readproc.c |
2 | +++ proc/readproc.c | ||
3 | @@ -858,2 +858,2 @@ | ||
4 | if(file2str("/proc/self", "stat", sbuf, sizeof sbuf) == -1){ | ||
5 | - fprintf(stderr, "Error, do this: mount -t proc none /proc\n"); | ||
6 | + fprintf(stderr, "Error, do this: mount -t proc proc /proc\n"); | ||
7 | --- proc/sysinfo.c | ||
8 | +++ proc/sysinfo.c | ||
9 | @@ -31,4 +31,4 @@ | ||
10 | " To mount /proc at boot you need an /etc/fstab line like:\n" \ | ||
11 | -" /proc /proc proc defaults\n" \ | ||
12 | -" In the meantime, mount /proc /proc -t proc\n" | ||
13 | +" proc /proc proc defaults\n" \ | ||
14 | +" In the meantime, mount proc /proc -t proc\n" | ||
15 |