Re: dtc: Check return value from fwrite()
From: Jon Loeliger <hidden>
Date: 2008-11-17 20:08:41
Also in:
linux-devicetree
From: Jon Loeliger <hidden>
Date: 2008-11-17 20:08:41
Also in:
linux-devicetree
There's one place in flattree.c where we currently ignore the return value from fwrite(). On some gcc/glibc versions, where fwrite() is declared with attribute warn_unused_result, this causes a warning. This patch fixes the warning, by checking the fwrite() result. Signed-off-by: David Gibson <redacted>
Applied. Thanks, jdl