diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-24 10:51:04 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-24 10:51:04 +0200 |
commit | 154a7b8428731fb90cc639439fcdb98003471298 (patch) | |
tree | da7ab5db6896d27b9a0238e0b6a76d417e8f1538 /udev/udevadm-test.c | |
parent | f6bb9e981aea06f1a7460868fb60f1a9ff14c504 (diff) |
cache uid/gid during rule parsing
This cuts down the number of parsing /etc/group from ~700 to 11,
with some large rule files installed.
Diffstat (limited to 'udev/udevadm-test.c')
-rw-r--r-- | udev/udevadm-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-test.c b/udev/udevadm-test.c index ceeead0c8a..2c8e0bff98 100644 --- a/udev/udevadm-test.c +++ b/udev/udevadm-test.c @@ -89,7 +89,7 @@ int udevadm_test(struct udev *udev, int argc, char *argv[]) "some values may be different, or not available at a simulation run.\n" "\n"); - rules = udev_rules_new(udev, 0); + rules = udev_rules_new(udev, 1); if (rules == NULL) { fprintf(stderr, "error reading rules\n"); rc = 1; |