aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2011-09-27 08:26:09 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2011-09-27 08:26:09 +0000
commitbe1143efb9d7d6662e93493c29def90cb7e9d5c8 (patch)
tree2b419e22847af2dd5544575898971d53b43fa605
parent00bddd18b3e52f883b4a3943acb06fc93fe45653 (diff)
downloadsrc-be1143efb9d7d6662e93493c29def90cb7e9d5c8.tar.gz
src-be1143efb9d7d6662e93493c29def90cb7e9d5c8.zip
No need to wrap pjdlog functions around with KEEP_ERRNO() macro.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=225786
-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 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);