summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/partition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/partition.c b/commands/partition.c
index 6cce0423d3..4c3f30c257 100644
--- a/commands/partition.c
+++ b/commands/partition.c
@@ -97,7 +97,7 @@ static int mtd_part_do_parse_one(char *devname, const char *partstr,
partstr = end;
if (*partstr == 'r' && *(partstr + 1) == 'o') {
- flags |= PARTITION_READONLY;
+ flags |= DEVFS_PARTITION_READONLY;
end = (char *)(partstr + 2);
}