summaryrefslogtreecommitdiff
path: root/udev_rules_parse.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-07-12 11:42:39 +0200
committerKay Sievers <kay.sievers@suse.de>2005-07-12 11:42:39 +0200
commitef520ba25f540a3c552e941351f772fbba7be5d9 (patch)
tree027a32f198f24e4479a0a57b5f05d7e6e6d46d89 /udev_rules_parse.c
parente03bce632196dea1f6b18885225b46daaba7fa30 (diff)
remember mapped rules state
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
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;
}