don't ignore return values (trivial)

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
This commit is contained in:
Stefan Reinauer 2009-04-22 12:14:39 +00:00 committed by Stefan Reinauer
parent 570933cad8
commit 0408bdd240
1 changed files with 3 additions and 0 deletions

View File

@ -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)