chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "sound: include ALSA sound card id in /dev/snd/by-id/ links"
[elogind.git]
/
libudev
/
libudev-enumerate.c
diff --git
a/libudev/libudev-enumerate.c
b/libudev/libudev-enumerate.c
index e30a406e5a643cd2d07bd589823a1b9961c86263..186abb927e3dd189373269eaed4d36215a5cc397 100644
(file)
--- a/
libudev/libudev-enumerate.c
+++ b/
libudev/libudev-enumerate.c
@@
-559,7
+559,7
@@
static int scan_dir_and_add_devices(struct udev_enumerate *udev_enumerate,
if (subdir1 != NULL)
l = util_strpcpyl(&s, l, "/", subdir1, NULL);
if (subdir2 != NULL)
if (subdir1 != NULL)
l = util_strpcpyl(&s, l, "/", subdir1, NULL);
if (subdir2 != NULL)
-
l =
util_strpcpyl(&s, l, "/", subdir2, NULL);
+ util_strpcpyl(&s, l, "/", subdir2, NULL);
dir = opendir(path);
if (dir == NULL)
return -1;
dir = opendir(path);
if (dir == NULL)
return -1;