chiark / gitweb /
fix debug output string
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 25 Sep 2007 11:45:49 +0000 (13:45 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 25 Sep 2007 11:45:49 +0000 (13:45 +0200)
udev_sysfs.c

index d5b04c3..e8909f9 100644 (file)
@@ -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));