diff options
| author | Erik Andersen <andersen@codepoet.org> | 2000-02-23 22:49:58 +0000 |
|---|---|---|
| committer | Erik Andersen <andersen@codepoet.org> | 2000-02-23 22:49:58 +0000 |
| commit | 5b911ddd577373dfcbd3d2dade7089ff611ea35e (patch) | |
| tree | 85c5c3dc68f1cece663c3cf1ac960225c980e38c /util-linux | |
| parent | dc75a739acefa740f91cf1642f730d5d1a0658ae (diff) | |
| download | busybox-w32-5b911ddd577373dfcbd3d2dade7089ff611ea35e.tar.gz busybox-w32-5b911ddd577373dfcbd3d2dade7089ff611ea35e.tar.bz2 busybox-w32-5b911ddd577373dfcbd3d2dade7089ff611ea35e.zip | |
Fixed rebooting when init runs as /linuxrc
-Erik
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/umount.c | 4 |
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; | |||
| 59 | extern const char mtab_file[]; /* Defined in utility.c */ | 59 | extern 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 | */ |
| 66 | void mtab_read(void) | 70 | void mtab_read(void) |
| 67 | { | 71 | { |
