diff --git a/finit-alt.c b/finit-alt.c index 6c3da8b6..8dbebaf1 100644 --- a/finit-alt.c +++ b/finit-alt.c @@ -340,7 +340,7 @@ void do_shutdown(int sig) kill(-1, SIGTERM); write(1, "\033[?25l\033[30;40m", 14); - copyfile("/boot/shutdown.fb", "/dev/fb/0"); + copyfile("/boot/shutdown.fb", "/dev/fb/0", 0); sleep(2); system("/usr/sbin/alsactl store > /dev/null 2>&1"); diff --git a/finit-mod.c b/finit-mod.c index 89acd48b..b521fa23 100644 --- a/finit-mod.c +++ b/finit-mod.c @@ -278,7 +278,7 @@ void do_shutdown(int sig) kill(-1, SIGTERM); write(1, "\033[?25l\033[30;40m", 14); - copyfile("/boot/shutdown.fb", "/dev/fb/0"); + copyfile("/boot/shutdown.fb", "/dev/fb/0", 0); sleep(2); system("/usr/sbin/alsactl store > /dev/null 2>&1");