summaryrefslogtreecommitdiff
path: root/udev_rules_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_rules_parse.c')
-rw-r--r--udev_rules_parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev_rules_parse.c b/udev_rules_parse.c
index a2f2f1804b..9483bcd71f 100644
--- a/udev_rules_parse.c
+++ b/udev_rules_parse.c
@@ -548,6 +548,7 @@ static int rules_map(struct udev_rules *rules, const char *filename)
rules->buf = NULL;
return -1;
}
+ rules->mapped = 1;
return 0;
}