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
commit838a4a599f056526e6fb7ff5916ccf67f05c4840 (patch)
treea726b80cfc1783f06dbce9c1bbb8bc3df43f2da9 /flashrom.c
parent8c52813a1fbe3d983b60c5a68bef066cc0d2c052 (diff)
downloadflashrom-838a4a599f056526e6fb7ff5916ccf67f05c4840.zip
flashrom-838a4a599f056526e6fb7ff5916ccf67f05c4840.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