projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mount: undo recent breakage when mount flags were made unsigned
[platform/upstream/busybox.git]
/
util-linux
/
mount.c
diff --git
a/util-linux/mount.c
b/util-linux/mount.c
index
220a4e6
..
95dee18
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;