diff --git a/sysupgrade.c b/sysupgrade.c index 96a29e9..fc588b0 100644 --- a/sysupgrade.c +++ b/sysupgrade.c @@ -19,10 +19,8 @@ #include "sysupgrade.h" #include -#include #include #include -#include #include #include @@ -105,7 +103,7 @@ void sysupgrade_exec_upgraded(const char *prefix, char *path, execvp(argv[0], argv); /* Cleanup on failure */ - fprintf(stderr, "Failed to exec upgraded: %s\n", strerror(-errno)); + fprintf(stderr, "Failed to exec upgraded.\n"); unsetenv("WDTFD"); watchdog_set_cloexec(true); ret = chroot(".");