diff options
Diffstat (limited to 'util-linux/acpid.c')
| -rw-r--r-- | util-linux/acpid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/acpid.c b/util-linux/acpid.c index 5c0bb1768..386b988d2 100644 --- a/util-linux/acpid.c +++ b/util-linux/acpid.c | |||
| @@ -145,7 +145,7 @@ struct globals { | |||
| 145 | static void process_event(const char *event) | 145 | static void process_event(const char *event) |
| 146 | { | 146 | { |
| 147 | struct stat st; | 147 | struct stat st; |
| 148 | char *handler = xasprintf("./%s", event); | 148 | char *handler = concat_path_file(".", event); |
| 149 | const char *args[] = { "run-parts", handler, NULL }; | 149 | const char *args[] = { "run-parts", handler, NULL }; |
| 150 | 150 | ||
| 151 | // log the event | 151 | // log the event |
