aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-23 22:49:58 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-23 22:49:58 +0000
commit0d294f0d5c238a69cd2603d68a5974965b9fc79d (patch)
tree85c5c3dc68f1cece663c3cf1ac960225c980e38c /util-linux
parente401bb0cb727a05943cefb61f0996ab034b27f76 (diff)
downloadbusybox-w32-0d294f0d5c238a69cd2603d68a5974965b9fc79d.tar.gz
busybox-w32-0d294f0d5c238a69cd2603d68a5974965b9fc79d.tar.bz2
busybox-w32-0d294f0d5c238a69cd2603d68a5974965b9fc79d.zip
Fixed rebooting when init runs as /linuxrc
-Erik git-svn-id: svn://busybox.net/trunk/busybox@383 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/umount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c
index b58b1a08c..0f087e197 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -59,9 +59,13 @@ static int doRemount = FALSE;
59extern const char mtab_file[]; /* Defined in utility.c */ 59extern const char mtab_file[]; /* Defined in utility.c */
60 60
61 61
62
62/* These functions are here because the getmntent functions do not appear 63/* These functions are here because the getmntent functions do not appear
63 * to be re-entrant, which leads to all sorts of problems when we try to 64 * to be re-entrant, which leads to all sorts of problems when we try to
64 * use them recursively - randolph 65 * use them recursively - randolph
66 *
67 * TODO: Perhaps switch to using Glibc's getmntent_r
68 * -Erik
65 */ 69 */
66void mtab_read(void) 70void mtab_read(void)
67{ 71{