chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
backlight: instead of syspath use sysname for identifying backlight devices
[elogind.git]
/
src
/
core
/
shutdown.c
diff --git
a/src/core/shutdown.c
b/src/core/shutdown.c
index 10a52bd11755d647915517356975ca2def17cdb0..4709746de40b616fde8b8fbcb17260b9b5d34c21 100644
(file)
--- a/
src/core/shutdown.c
+++ b/
src/core/shutdown.c
@@
-318,7
+318,7
@@
int main(int argc, char *argv[]) {
log_warning("kexec failed. Falling back to normal reboot.");
} else {
/* Child */
- const char *args[3] = {
"/sbin/kexec"
, "-e", NULL };
+ const char *args[3] = {
KEXEC
, "-e", NULL };
execv(args[0], (char * const *) args);
return EXIT_FAILURE;
}