Skip to content

Commit

Permalink
bios: use puts for long string
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Feb 17, 2013
1 parent 8247f3a commit 07120e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions software/bios/main.c
Expand Up @@ -427,7 +427,7 @@ static const char banner[] =
"Built "__DATE__" "__TIME__"\n\n" "Built "__DATE__" "__TIME__"\n\n"
"This program is free software: you can redistribute it and/or modify\n" "This program is free software: you can redistribute it and/or modify\n"
"it under the terms of the GNU General Public License as published by\n" "it under the terms of the GNU General Public License as published by\n"
"the Free Software Foundation, version 3 of the License.\n"; "the Free Software Foundation, version 3 of the License.";


static void readstr(char *s, int size) static void readstr(char *s, int size)
{ {
Expand Down Expand Up @@ -520,7 +520,7 @@ int main(int i, char **c)
irq_setmask(0); irq_setmask(0);
irq_setie(1); irq_setie(1);
uart_init(); uart_init();
printf(banner); puts(banner);
crcbios(); crcbios();
if(rescue) if(rescue)
printf("Rescue mode\n"); printf("Rescue mode\n");
Expand Down

0 comments on commit 07120e3

Please sign in to comment.