summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/printf-pos.c
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-10-09 21:34:46 +0000
committerian <ian@FreeBSD.org>2015-10-09 21:34:46 +0000
commit6a25be77ca4812720a26bc463d8c3ec090053757 (patch)
tree52e66b9bdf91d6d08caec77d71d6fd86c1077f3e /lib/libc/stdio/printf-pos.c
parentac5a71dcddf6cda4111de2a687b17a447c1e4df7 (diff)
downloadFreeBSD-src-6a25be77ca4812720a26bc463d8c3ec090053757.zip
FreeBSD-src-6a25be77ca4812720a26bc463d8c3ec090053757.tar.gz
Bugfix: Exit the transfer loop if any read or write operation fails. Also,
perform a stop operation on the bus if there was an error, otherwise the bus will remain hung forever. Consistantly use 'if (error != 0)' style in the function.
Diffstat (limited to 'lib/libc/stdio/printf-pos.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud