summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-06-04 11:20:18 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-06-04 11:20:18 +0200
commitfd80719273b9d58f88fc5d576cdb67a1fd92e2bb (patch)
tree9d33bd65517105fc216fe184555251794b07f24f /udevinfo.c
parent96d3d86145124f1c401d1f1aa74c0e3184fd6ddc (diff)
sysfs: skip unknown sysfs directories
Diffstat (limited to 'udevinfo.c')
-rw-r--r--udevinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udevinfo.c b/udevinfo.c
index cda229244d..82057de54c 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -413,7 +413,7 @@ int main(int argc, char *argv[], char *envp[])
case ACTION_ATTRIBUTE_WALK:
if (path[0] != '\0') {
if (print_device_chain(path) != 0) {
- fprintf(stderr, "device not found\n");
+ fprintf(stderr, "no valid sysfs device found\n");
rc = 4;
goto exit;
}
@@ -424,7 +424,7 @@ int main(int argc, char *argv[], char *envp[])
goto exit;
}
if (print_device_chain(udev->dev->devpath) != 0) {
- fprintf(stderr, "device not found\n");
+ fprintf(stderr, "no valid sysfs device found\n");
rc = 4;
goto exit;
}