summaryrefslogtreecommitdiff
path: root/bootloader/x1000/install.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/x1000/install.c')
-rw-r--r--bootloader/x1000/install.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootloader/x1000/install.c b/bootloader/x1000/install.c
index e4af66443b..18b853df7c 100644
--- a/bootloader/x1000/install.c
+++ b/bootloader/x1000/install.c
@@ -34,7 +34,7 @@ enum {
34static void bootloader_action(int which) 34static void bootloader_action(int which)
35{ 35{
36 if(check_disk(true) != DISK_PRESENT) { 36 if(check_disk(true) != DISK_PRESENT) {
37 splash2(5*HZ, "Install aborted", "Cannot access SD card"); 37 splashf(5*HZ, "Install aborted\nCannot access SD card");
38 return; 38 return;
39 } 39 }
40 40
@@ -46,7 +46,7 @@ static void bootloader_action(int which)
46 default: return; /* can't happen */ 46 default: return; /* can't happen */
47 } 47 }
48 48
49 splash(0, msg); 49 splashf(0, msg);
50 50
51 int rc; 51 int rc;
52 switch(which) { 52 switch(which) {
@@ -60,7 +60,7 @@ static void bootloader_action(int which)
60 snprintf(buf, sizeof(buf), "%s (%d)", installer_strerror(rc), rc); 60 snprintf(buf, sizeof(buf), "%s (%d)", installer_strerror(rc), rc);
61 const char* msg1 = rc == 0 ? "Success" : buf; 61 const char* msg1 = rc == 0 ? "Success" : buf;
62 const char* msg2 = "Press " BL_QUIT_NAME " to continue"; 62 const char* msg2 = "Press " BL_QUIT_NAME " to continue";
63 splash2(0, msg1, msg2); 63 splashf(0, "%s\n%s", msg1, msg2);
64 64
65 while(get_button(TIMEOUT_BLOCK) != BL_QUIT); 65 while(get_button(TIMEOUT_BLOCK) != BL_QUIT);
66} 66}