chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] increase udevd event timeout
[elogind.git]
/
udevstart.c
diff --git
a/udevstart.c
b/udevstart.c
index 7e19c379a503ed8ff7f2885dd419ffd236f3157b..5e6606d535ac4fc5de658a3f3c5b2f08ffb35ee0 100644
(file)
--- a/
udevstart.c
+++ b/
udevstart.c
@@
-62,8
+62,8
@@
static void udev_exec(const char *path, const char* subsystem)
char nosleep[] = "UDEV_NO_SLEEP=1";
char *env[] = { action, devpath, nosleep, NULL };
- strcpy(
action, "DEVPATH=%s
");
- strfieldcat(
action
, path);
+ strcpy(
devpath, "DEVPATH=
");
+ strfieldcat(
devpath
, path);
pid = fork();
switch (pid) {