mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-29 21:55:25 +03:00
fix debug output string
This commit is contained in:
parent
31150fbbc7
commit
d438c80e57
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user