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/udev-node.c | |
parent | 3c6ee190277f9d4bf39269fdb167f9c430633c9b (diff) |
use /run/udev/ if possible and fall back to /dev/.udev/
Diffstat (limited to 'udev/udev-node.c')
-rw-r--r-- | udev/udev-node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-node.c b/udev/udev-node.c index aaa2e32e65..ab4e932288 100644 --- a/udev/udev-node.c +++ b/udev/udev-node.c @@ -292,7 +292,7 @@ static void link_update(struct udev_device *dev, const char *slink, bool add) dbg(udev, "update symlink '%s' of '%s'\n", slink, udev_device_get_syspath(dev)); util_path_encode(&slink[strlen(udev_get_dev_path(udev))+1], name_enc, sizeof(name_enc)); - util_strscpyl(dirname, sizeof(dirname), udev_get_dev_path(udev), "/.run/udev/links/", name_enc, NULL); + util_strscpyl(dirname, sizeof(dirname), udev_get_run_path(udev), "/links/", name_enc, NULL); util_strscpyl(filename, sizeof(filename), dirname, "/", udev_device_get_id_filename(dev), NULL); if (!add) { |