chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada26cf
)
[PATCH] Fix bug causing udev to sleep forever waiting for dev file to show up.
author
greg@kroah.com
<greg@kroah.com>
Wed, 22 Oct 2003 04:40:53 +0000
(21:40 -0700)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:04:09 +0000
(21:04 -0700)
Now we will timeout properly.
udev-add.c
patch
|
blob
|
history
diff --git
a/udev-add.c
b/udev-add.c
index d9d7cab103098a35b14d95f384ade479399cb269..2b27855553885821342596dcc0dfab219674381a 100644
(file)
--- a/
udev-add.c
+++ b/
udev-add.c
@@
-150,6
+150,7
@@
int sleep_for_dev(char *path)
/* sleep for a second or two to give the kernel a chance to
* create the dev file */
sleep(1);
+ ++loop;
}
retval = -ENODEV;
exit: