summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorErik Andersen2000-02-23 22:49:58 +0000
committerErik Andersen2000-02-23 22:49:58 +0000
commit5b911ddd577373dfcbd3d2dade7089ff611ea35e (patch)
tree85c5c3dc68f1cece663c3cf1ac960225c980e38c /util-linux
parentdc75a739acefa740f91cf1642f730d5d1a0658ae (diff)
downloadbusybox-5b911ddd577373dfcbd3d2dade7089ff611ea35e.zip
busybox-5b911ddd577373dfcbd3d2dade7089ff611ea35e.tar.gz
Fixed rebooting when init runs as /linuxrc
-Erik
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 b58b1a0..0f087e1 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -59,9 +59,13 @@ static int doRemount = FALSE;
extern const char mtab_file[]; /* Defined in utility.c */
+
/* These functions are here because the getmntent functions do not appear
* to be re-entrant, which leads to all sorts of problems when we try to
* use them recursively - randolph
+ *
+ * TODO: Perhaps switch to using Glibc's getmntent_r
+ * -Erik
*/
void mtab_read(void)
{