summaryrefslogtreecommitdiff
path: root/src/shutdown.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-11 03:04:45 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-12 00:40:26 +0100
commit91901329245f070b621a24577393fb8f4ce9bffc (patch)
treebf900ff4c4be67fe224c82f2721af911d9f98e47 /src/shutdown.c
parent9fe117ea5ac7e8fc36312324c7fdc851adff59f3 (diff)
build-sys: fix usage of path macros
Diffstat (limited to 'src/shutdown.c')
-rw-r--r--src/shutdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdown.c b/src/shutdown.c
index 35426d2115..11c7544fc7 100644
--- a/src/shutdown.c
+++ b/src/shutdown.c
@@ -349,7 +349,7 @@ int main(int argc, char *argv[]) {
log_warning("kexec failed. Falling back to normal reboot.");
} else {
/* Child */
- const char *args[5] = { KEXEC_BINARY_PATH, "-e", "-f", "-x", NULL };
+ const char *args[5] = { "/sbin/kexec", "-e", "-f", "-x", NULL };
execv(args[0], (char * const *) args);
return EXIT_FAILURE;
}