diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-03-23 02:31:09 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-03-23 02:31:09 +0100 |
commit | 4ec9c3e79771aa95586390cecff4218cc8938160 (patch) | |
tree | e26e6bd8125ebcefbdf9674739df7573d17a040a /udev/udevadm.c | |
parent | 3c6ee190277f9d4bf39269fdb167f9c430633c9b (diff) |
use /run/udev/ if possible and fall back to /dev/.udev/
Diffstat (limited to 'udev/udevadm.c')
-rw-r--r-- | udev/udevadm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/udevadm.c b/udev/udevadm.c index 19b89ad05c..336d723705 100644 --- a/udev/udevadm.c +++ b/udev/udevadm.c @@ -171,6 +171,8 @@ int main(int argc, char *argv[]) } command = argv[optind]; + info(udev, "runtime dir '%s'\n", udev_get_run_path(udev)); + if (command != NULL) for (i = 0; cmds[i].cmd != NULL; i++) { if (strcmp(cmds[i].name, command) == 0) { |