summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-09-25 13:45:49 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-09-25 13:45:49 +0200
commitd438c80e57b1cc98540399f817eda7fc2568cc72 (patch)
treeb99f74a8c24c47875c36897c2bf52f42a04c2f50
parent31150fbbc7ee47260e5446ede5e24c8b87f4412a (diff)
fix debug output string
-rw-r--r--udev_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_sysfs.c b/udev_sysfs.c
index d5b04c310f..e8909f94f1 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));