summaryrefslogtreecommitdiff
path: root/udev_rules.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-01-13 13:17:10 +0100
committerKay Sievers <kay.sievers@suse.de>2006-01-13 13:17:10 +0100
commitd548032795b3c02aad606537a35ff63d954f1613 (patch)
tree2681108fec568ebfe3c9d1bddfee584ec7b5dd40 /udev_rules.c
parentafe9f2fb5fe97281e2e84c12e1451a8e9bab6edb (diff)
better log test and comments
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_rules.c')
-rw-r--r--udev_rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_rules.c b/udev_rules.c
index 8693b71c08..fc1f3c9c3d 100644
--- a/udev_rules.c
+++ b/udev_rules.c
@@ -352,7 +352,7 @@ static int wait_for_sysfs(struct udevice *udev, const char *file, int timeout)
while (--loop) {
if (stat(filename, &stats) == 0) {
- info("file appeared after %i loops", (timeout * WAIT_LOOP_PER_SECOND) - loop-1);
+ info("file '%s' appeared after %i loops", filename, (timeout * WAIT_LOOP_PER_SECOND) - loop-1);
return 0;
}
info("wait for %i mseconds", 1000 / WAIT_LOOP_PER_SECOND);