projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a1e56
)
Fix mtab so it works on libc5
author
Eric Andersen
<andersen@codepoet.org>
Wed, 14 Mar 2001 01:48:10 +0000
(
01:48
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 14 Mar 2001 01:48:10 +0000
(
01:48
-0000)
mtab.c
patch
|
blob
|
history
diff --git
a/mtab.c
b/mtab.c
index 8411fe1fafe0e188b7f7c0a98b69aef4cc0588ba..0497657758089d28cd60a1a93e7b1360fef580b7 100644
(file)
--- a/
mtab.c
+++ b/
mtab.c
@@
-5,11
+5,10
@@
#include <string.h>
#include <stdio.h>
#include <mntent.h>
-#include <sys/mount.h>
#include "busybox.h"
extern const char mtab_file[]; /* Defined in utility.c */
-
+static const int MS_RDONLY = 1; /* Mount read-only. */
void erase_mtab(const char *name)
{