check return from pread, don't divide -1 for count
authortedu <tedu@openbsd.org>
Mon, 3 Apr 2017 17:23:39 +0000 (17:23 +0000)
committertedu <tedu@openbsd.org>
Mon, 3 Apr 2017 17:23:39 +0000 (17:23 +0000)
commitdb006180e56b790d51443987f96346d99e672470
tree8ee707453746ef71d6e96a44405ac2dcf4e45ace
parentb15aba8753dd77a8c5ea236266cbad25addd8d5a
check return from pread, don't divide -1 for count
libexec/comsat/comsat.c