Whamcloud - gitweb
logsave: Fix warn_unused_result warnings from gcc
authorTheodore Ts'o <tytso@mit.edu>
Wed, 22 Apr 2009 19:12:40 +0000 (15:12 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 22 Apr 2009 19:12:40 +0000 (15:12 -0400)
commit6e6b71d697c9a66ab19e67ca2cad10168477a107
tree6da3000a4757fc5f45c13a3bd885ed7e4e973f40
parentfb72556af88bf01459519d1028743c54a71bcca1
logsave: Fix warn_unused_result warnings from gcc

Fixed a potential bug where by partial returns from the write(2)
system call could some bytes to be lost when writing to the log file.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/logsave.c