Fix mtab so it works on libc5
This commit is contained in:
parent
b9a1e56a80
commit
741f2c9898
3
mtab.c
3
mtab.c
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user