diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-09-27 08:26:09 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-09-27 08:26:09 +0000 |
commit | be1143efb9d7d6662e93493c29def90cb7e9d5c8 (patch) | |
tree | 2b419e22847af2dd5544575898971d53b43fa605 | |
parent | 00bddd18b3e52f883b4a3943acb06fc93fe45653 (diff) | |
download | src-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.c | 3 |
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); |