Fix mtab so it works on libc5

This commit is contained in:
Eric Andersen 2001-03-14 01:48:10 +00:00
parent b9a1e56a80
commit 741f2c9898

3
mtab.c
View File

@ -5,11 +5,10 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <mntent.h> #include <mntent.h>
#include <sys/mount.h>
#include "busybox.h" #include "busybox.h"
extern const char mtab_file[]; /* Defined in utility.c */ extern const char mtab_file[]; /* Defined in utility.c */
static const int MS_RDONLY = 1; /* Mount read-only. */
void erase_mtab(const char *name) void erase_mtab(const char *name)
{ {