From be1143efb9d7d6662e93493c29def90cb7e9d5c8 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Tue, 27 Sep 2011 08:26:09 +0000 Subject: [PATCH] No need to wrap pjdlog functions around with KEEP_ERRNO() macro. MFC after: 3 days --- sbin/hastd/primary.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbin/hastd/primary.c b/sbin/hastd/primary.c index cdb2e9575e2a..ebb758ec9e00 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);