Fixed rebooting when init runs as /linuxrc

-Erik
This commit is contained in:
Erik Andersen
2000-02-23 22:49:58 +00:00
parent dc75a739ac
commit 5b911ddd57
4 changed files with 17 additions and 8 deletions

View File

@@ -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)
{