Date: Tue, 27 Sep 2011 08:26:10 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r225786 - head/sbin/hastd Message-ID: <201109270826.p8R8QAUG012614@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109270826.p8R8QAUG012614>