Thread (1 message) 1 message, 1 author, 2008-11-17

Re: dtc: Check return value from fwrite()

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help