diff options
author | Alex Merry <alexander.merry@ccc.ox.ac.uk> | 2006-08-17 21:14:45 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-08-17 21:14:45 +0200 |
commit | 878b47da74dd0f24741ced985d4f8cdc058c9f42 (patch) | |
tree | 06920f3103be4dd0df0bc34277b2a40146c934fd | |
parent | 33a570f38b02c4946abda3b94ecaa3657f70fb4f (diff) |
udevtest: allow /sys in the devpath paramter
-rw-r--r-- | udevtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udevtest.c b/udevtest.c index d736711a3f..078674a01d 100644 --- a/udevtest.c +++ b/udevtest.c @@ -64,6 +64,7 @@ int main(int argc, char *argv[], char *envp[]) udev_config_init(); if (udev_log_priority < LOG_INFO) udev_log_priority = LOG_INFO; + sysfs_init(); if (argc != 2) { info("Usage: udevtest <devpath>"); @@ -82,7 +83,6 @@ int main(int argc, char *argv[], char *envp[]) } else devpath = argv[1]; - sysfs_init(); udev_rules_init(&rules, 0); dev = sysfs_device_get(devpath); |