svn commit: r225786 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Sep 27 08:26:10 UTC 2011
Author: pjd
Date: Tue Sep 27 08:26:09 2011
New Revision: 225786
URL: http://svn.freebsd.org/changeset/base/225786
Log:
No need to wrap pjdlog functions around with KEEP_ERRNO() macro.
MFC after: 3 days
Modified:
head/sbin/hastd/primary.c
Modified: head/sbin/hastd/primary.c
==============================================================================
--- head/sbin/hastd/primary.c Tue Sep 27 08:21:00 2011 (r225785)
+++ head/sbin/hastd/primary.c Tue Sep 27 08:26:09 2011 (r225786)
@@ -293,8 +293,7 @@ hast_activemap_flush(struct hast_resourc
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);
More information about the svn-src-head
mailing list