Fixed shutdown splash copyfile() call

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka
2008-02-17 08:55:31 -03:00
parent 1fc2d9596a
commit 0c72f960f1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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");