X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev_sysfs.c;h=e8909f94f1f6166249fbcad8f571d7c0baa2b790;hp=d5b04c310fe8bc10585fe36f135c381584caa808;hb=6e509e539b15ae882afd8ce3fafe1fbd33008509;hpb=1f7a36f2c0953c60a8d7acadc281285a0b84fb46 diff --git a/udev_sysfs.c b/udev_sysfs.c index d5b04c310..e8909f94f 100644 --- 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));