diff options
author | Kay Sievers <kay@vrfy.org> | 2012-08-10 19:56:57 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-08-10 19:56:57 +0200 |
commit | dbf61afb29e016fe1b4ac48312a782df1d60a3e6 (patch) | |
tree | 82e12903de297fb388c1e85b27fca627943a2f1b /src/udev/udev-watch.c | |
parent | systemctl: fix issue with systemctl daemon-reexec (diff) | |
download | systemd-dbf61afb29e016fe1b4ac48312a782df1d60a3e6.tar.xz systemd-dbf61afb29e016fe1b4ac48312a782df1d60a3e6.zip |
udev: export udev_device_new_from_device_id()
Diffstat (limited to 'src/udev/udev-watch.c')
-rw-r--r-- | src/udev/udev-watch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-watch.c b/src/udev/udev-watch.c index 1091ec8d69..c27a280bd3 100644 --- a/src/udev/udev-watch.c +++ b/src/udev/udev-watch.c @@ -75,7 +75,7 @@ void udev_watch_restore(struct udev *udev) goto unlink; device[len] = '\0'; - dev = udev_device_new_from_id_filename(udev, device); + dev = udev_device_new_from_device_id(udev, device); if (dev == NULL) goto unlink; @@ -154,5 +154,5 @@ struct udev_device *udev_watch_lookup(struct udev *udev, int wd) return NULL; device[len] = '\0'; - return udev_device_new_from_id_filename(udev, device); + return udev_device_new_from_device_id(udev, device); } |