chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rules_generator: add missing write_net_rules unlock
[elogind.git]
/
udev_sysfs.c
diff --git
a/udev_sysfs.c
b/udev_sysfs.c
index d5b04c310fe8bc10585fe36f135c381584caa808..e8909f94f1f6166249fbcad8f571d7c0baa2b790 100644
(file)
--- a/
udev_sysfs.c
+++ b/
udev_sysfs.c
@@
-415,7
+415,7
@@
char *sysfs_attr_get_value(const char *devpath, const char *attr_name)
/* read attribute value */
fd = open(path_full, O_RDONLY);
if (fd < 0) {
- dbg("attribute '%s'
does not exist
", path_full);
+ dbg("attribute '%s'
can not be opened
", path_full);
goto out;
}
size = read(fd, value, sizeof(value));