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] 021_bk mark
[elogind.git]
/
udevd.c
diff --git
a/udevd.c
b/udevd.c
index f7901cb7529ca39a3873bf6bd561acd801040194..2b3dc55788f3e2915c7edf6644e7810b7c062dac 100644
(file)
--- a/
udevd.c
+++ b/
udevd.c
@@
-119,8
+119,8
@@
static void msg_queue_insert(struct hotplug_msg *msg)
static void udev_run(struct hotplug_msg *msg)
{
pid_t pid;
static void udev_run(struct hotplug_msg *msg)
{
pid_t pid;
- char action[
32
];
- char devpath[
256
];
+ char action[
ACTION_SIZE
];
+ char devpath[
DEVPATH_SIZE
];
char *env[] = { action, devpath, NULL };
snprintf(action, sizeof(action), "ACTION=%s", msg->action);
char *env[] = { action, devpath, NULL };
snprintf(action, sizeof(action), "ACTION=%s", msg->action);