Code

Proper check for `swrite()` return value
authorPavel Rochnyack <pavel2000@ngs.ru>
Tue, 4 Jul 2017 09:14:05 +0000 (16:14 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Wed, 11 Oct 2017 07:33:09 +0000 (14:33 +0700)
commitbbe5133c16fb12c033cc4375db4c4f9f1f1506e9
tree36678d451dd3695f55cb73f526c3ae787a90d8fa
parent11fd0bc0ed5969e7f1fd218e77c905fe2f414023
Proper check for `swrite()` return value

The `swrite()` can return positive value from `errno` in case of error.
src/mcelog.c
src/multimeter.c
src/ntpd.c
src/ted.c
src/write_tsdb.c