diff options
author | pjd <pjd@FreeBSD.org> | 2011-09-27 08:26:09 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-09-27 08:26:09 +0000 |
commit | 1f93bdc27f698c83f830a67a9da0f5991ea476fb (patch) | |
tree | 2b419e22847af2dd5544575898971d53b43fa605 | |
parent | 27079abf30fd2ed49a7d0e68dfe7dd2e7982a051 (diff) | |
download | FreeBSD-src-1f93bdc27f698c83f830a67a9da0f5991ea476fb.zip FreeBSD-src-1f93bdc27f698c83f830a67a9da0f5991ea476fb.tar.gz |
No need to wrap pjdlog functions around with KEEP_ERRNO() macro.
MFC after: 3 days
-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); |