summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-10-01 18:40:02 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-10-01 18:40:02 +0000
commitc67d03701b4348eee9dfd5e38733a1b0eda73d08 (patch)
treea726b80cfc1783f06dbce9c1bbb8bc3df43f2da9 /flashrom.c
parent3a4781e76cce2d47865f8beca5b65fafa10de2cd (diff)
downloadast2050-flashrom-c67d03701b4348eee9dfd5e38733a1b0eda73d08.zip
ast2050-flashrom-c67d03701b4348eee9dfd5e38733a1b0eda73d08.tar.gz
Cosmetics and small coding style fixes
Also, introduce BITMODE_BITBANG_SPI to eliminate a magic value. Corresponding to flashrom svn r742. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/flashrom.c b/flashrom.c
index c867842..804df53 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -563,12 +563,12 @@ int erase_flash(struct flashchip *flash)
return ret;
}
-void emergency_help_message()
+void emergency_help_message(void)
{
fprintf(stderr, "Your flash chip is in an unknown state.\n"
- "Get help on IRC at irc.freenode.net channel #flashrom or\n"
- "mail flashrom@flashrom.org\n"
- "------------------------------------------------------------\n"
+ "Get help on IRC at irc.freenode.net (channel #flashrom) or\n"
+ "mail flashrom@flashrom.org!\n--------------------"
+ "-----------------------------------------------------------\n"
"DO NOT REBOOT OR POWEROFF!\n");
}
OpenPOWER on IntegriCloud