chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7a551dc
)
revert the "read symlink as device patch"
author
Kay Sievers
<kay.sievers@suse.de>
Wed, 2 Nov 2005 03:04:19 +0000
(
04:04
+0100)
committer
Kay Sievers
<kay.sievers@suse.de>
Wed, 2 Nov 2005 03:04:19 +0000
(
04:04
+0100)
It's covered by libsysfs now.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
libsysfs/sysfs_utils.c
patch
|
blob
|
history
diff --git
a/libsysfs/sysfs_utils.c
b/libsysfs/sysfs_utils.c
index bd7f99ae15d6c0417f492e7e72ef981bf8de3af3..c5558a43a1e9db1d172aad23f8f72cfc7957ef92 100644
(file)
--- a/
libsysfs/sysfs_utils.c
+++ b/
libsysfs/sysfs_utils.c
@@
-233,7
+233,7
@@
int sysfs_path_is_dir(const char *path)
errno = EINVAL;
return 1;
}
- if ((stat(path, &astats)) != 0) {
+ if ((
l
stat(path, &astats)) != 0) {
dprintf("stat() failed\n");
return 1;
}