ui/ncurses: in lockdown ensure system reboot in ncurses menu exit
[petitboot] / ui / twin / main-ps3.c
index 138cd28f74f6eb2aaccfbb20f591f57f5a5447a0..f98aca83674c213c95f5c3c70c24bc5db047ff77 100644 (file)
@@ -21,7 +21,6 @@
 #include "config.h"
 #endif
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <errno.h>
 #include <getopt.h>
@@ -412,7 +411,7 @@ int main(int argc, char *argv[])
        result += sigaction(SIGWINCH, &sa, NULL);
 
        if (result) {
-               pb_log("%s sigaction failed.\n", __func__);
+               pb_log_fn("sigaction failed.\n");
                return EXIT_FAILURE;
        }