diff options
author | ian <ian@FreeBSD.org> | 2015-10-09 21:34:46 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2015-10-09 21:34:46 +0000 |
commit | 6a25be77ca4812720a26bc463d8c3ec090053757 (patch) | |
tree | 52e66b9bdf91d6d08caec77d71d6fd86c1077f3e /lib/libc/stdio/printf-pos.c | |
parent | ac5a71dcddf6cda4111de2a687b17a447c1e4df7 (diff) | |
download | FreeBSD-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