From 0c72f960f13e7882357e31fa6bd665bef3552a6b Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Sun, 17 Feb 2008 08:55:31 -0300 Subject: [PATCH] Fixed shutdown splash copyfile() call Signed-off-by: Claudio Matsuoka --- finit-alt.c | 2 +- finit-mod.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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");