summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-09-27 08:26:09 +0000
committerpjd <pjd@FreeBSD.org>2011-09-27 08:26:09 +0000
commit1f93bdc27f698c83f830a67a9da0f5991ea476fb (patch)
tree2b419e22847af2dd5544575898971d53b43fa605 /sbin/hastd
parent27079abf30fd2ed49a7d0e68dfe7dd2e7982a051 (diff)
downloadFreeBSD-src-1f93bdc27f698c83f830a67a9da0f5991ea476fb.zip
FreeBSD-src-1f93bdc27f698c83f830a67a9da0f5991ea476fb.tar.gz
No need to wrap pjdlog functions around with KEEP_ERRNO() macro.
MFC after: 3 days
Diffstat (limited to 'sbin/hastd')
-rw-r--r--sbin/hastd/primary.c3
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);
OpenPOWER on IntegriCloud