summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2006-08-06 21:48:59 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2006-08-06 21:48:59 +0000
commit5375e26e51e9c6eaded4f733bf60cc8bbf662a8a (patch)
tree8554dd10006dd325ea82dd4a2659a7c0f8accf61 /apps
parent3b4932a27b37c3a2b87ada51512a11a52f5df814 (diff)
eeprom dump in debug screen: fix return value check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10467 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index ce3140be63..6329977765 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1961,7 +1961,7 @@ bool dbg_save_roms(void)
{
char buf[EEPROM_SIZE];
- if (!eeprom_24cxx_read(0, buf, sizeof buf))
+ if (eeprom_24cxx_read(0, buf, sizeof buf))
gui_syncsplash(HZ*3, true, "Eeprom read failure!");
else
write(fd, buf, sizeof buf);