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:
c9a1311
)
mount: undo recent breakage when mount flags were made unsigned
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 22 Jun 2012 13:06:27 +0000
(15:06 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 22 Jun 2012 13:06:27 +0000
(15:06 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mount.c
patch
|
blob
|
history
diff --git
a/util-linux/mount.c
b/util-linux/mount.c
index 220a4e67c745d58584f5dc44d227d72f3a74c8a5..95dee18eca9ab71367b9c06c103f1e2bf7c1cdaa 100644
(file)
--- a/
util-linux/mount.c
+++ b/
util-linux/mount.c
@@
-467,7
+467,7
@@
static unsigned long parse_mount_options(char *options, char **unrecognized)
for (i = 0; i < ARRAY_SIZE(mount_options); i++) {
if (strcasecmp(option_str, options) == 0) {
unsigned long fl = mount_options[i];
- if (fl < 0)
+ if (
(long)
fl < 0)
flags &= fl;
else
flags |= fl;