projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
570933c
)
don't ignore return values (trivial)
author
Stefan Reinauer
<stepan@coresystems.de>
Wed, 22 Apr 2009 12:14:39 +0000
(12:14 +0000)
committer
Stefan Reinauer
<stepan@openbios.org>
Wed, 22 Apr 2009 12:14:39 +0000
(12:14 +0000)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4173
2b7e53f0
-3cfb-0310-b3e9-
8179ed1497e1
util/nrv2b/nrv2b.c
patch
|
blob
|
history
diff --git
a/util/nrv2b/nrv2b.c
b/util/nrv2b/nrv2b.c
index e341a7b61de8839f83fd82b1eb539fd17cd3ce6f..c8daa4d47f7cc8a3bf250972632d2b5d39b1d008 100644
(file)
--- a/
util/nrv2b/nrv2b.c
+++ b/
util/nrv2b/nrv2b.c
@@
-1265,6
+1265,9
@@
void Encode(void) /* compression */
Error("Can't read");
}
r = ucl_nrv2b_99_compress(in, in_len, out, &out_len, 0 );
+ if (r != UCL_E_OK) {
+ Error("Error during compression.");
+ }
#if UCLPACK_COMPAT
tw = htonl(out_len);
if (fwrite(&tw, sizeof(tw), 1, outfile) != 1)