aboutsummaryrefslogtreecommitdiff
path: root/util/cbfstool/common.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-06-24 13:37:59 +0000
committerStefan Reinauer <stepan@openbios.org>2010-06-24 13:37:59 +0000
commit9bb0438535d29329f6a01a136caa2f2ad79fdceb (patch)
treeed44ef0c6bd231abd1252487f04f66b1ff1079bf /util/cbfstool/common.h
parent980a69b8c20ad975553980ccb320bf25ff7c0b16 (diff)
fix return value checks of cbfstool's writerom
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5644 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/cbfstool/common.h')
-rw-r--r--util/cbfstool/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/common.h b/util/cbfstool/common.h
index eaf5e71f60..8d1b4d845d 100644
--- a/util/cbfstool/common.h
+++ b/util/cbfstool/common.h
@@ -44,7 +44,7 @@ uint32_t getfilesize(const char *filename);
void *loadfile(const char *filename, uint32_t * romsize_p, void *content,
int place);
void *loadrom(const char *filename);
-void writerom(const char *filename, void *start, uint32_t size);
+int writerom(const char *filename, void *start, uint32_t size);
int iself(unsigned char *input);