chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release 107
[elogind.git]
/
udev_rules.c
diff --git
a/udev_rules.c
b/udev_rules.c
index ea02b8e9455763ae9346dfc96a2661ecc2f44b97..f8844a8438df8af7ae277c248489ece37d145d7e 100644
(file)
--- a/
udev_rules.c
+++ b/
udev_rules.c
@@
-289,7
+289,7
@@
static int wait_for_sysfs(struct udevice *udev, const char *file, int timeout)
info("file '%s' appeared after %i loops", filepath, (timeout * WAIT_LOOP_PER_SECOND) - loop-1);
return 0;
}
info("file '%s' appeared after %i loops", filepath, (timeout * WAIT_LOOP_PER_SECOND) - loop-1);
return 0;
}
- /* make sure
the device does not have disappeared
in the meantime */
+ /* make sure
, the device did not disappear
in the meantime */
if (stat(devicepath, &stats) != 0) {
info("device disappeared while waiting for '%s'", filepath);
return -2;
if (stat(devicepath, &stats) != 0) {
info("device disappeared while waiting for '%s'", filepath);
return -2;