mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-14 10:37:11 +07:00
revert the "read symlink as device patch"
It's covered by libsysfs now. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
This commit is contained in:
parent
7a551dc355
commit
8ebe9547a8
@ -233,7 +233,7 @@ int sysfs_path_is_dir(const char *path)
|
||||
errno = EINVAL;
|
||||
return 1;
|
||||
}
|
||||
if ((stat(path, &astats)) != 0) {
|
||||
if ((lstat(path, &astats)) != 0) {
|
||||
dprintf("stat() failed\n");
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user