diff options
-rw-r--r-- | sbin/hastd/primary.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/hastd/primary.c b/sbin/hastd/primary.c index cdb2e95..ebb758e 100644 --- a/sbin/hastd/primary.c +++ b/sbin/hastd/primary.c @@ -293,8 +293,7 @@ hast_activemap_flush(struct hast_resource *res) PJDLOG_ASSERT((size % res->hr_local_sectorsize) == 0); if (pwrite(res->hr_localfd, buf, size, METADATA_SIZE) != (ssize_t)size) { - KEEP_ERRNO(pjdlog_errno(LOG_ERR, - "Unable to flush activemap to disk")); + pjdlog_errno(LOG_ERR, "Unable to flush activemap to disk"); return (-1); } return (0); |