os: Ignore log file write failures
authorKeith Packard <keithp@keithp.com>
Fri, 18 Apr 2014 22:09:50 +0000 (15:09 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 18 Apr 2014 23:30:17 +0000 (16:30 -0700)
commit0af8788579c2f52cc1172952c9004483bf863932
tree1fe7b4d0ebeac659ca4ce8d5016891512843fe18
parent7abd28685066369ded807f59493c1159cfb286bf
os: Ignore log file write failures

There's no place to log the message if writing to the log file fails,
and we surely don't want to crash in that case, so just ignore errors
and keep going.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
os/log.c