svn commit: r211898 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Aug 27 21:26:56 UTC 2010
Author: pjd
Date: Fri Aug 27 21:26:55 2010
New Revision: 211898
URL: http://svn.freebsd.org/changeset/base/211898
Log:
When logging to stdout/stderr, flush after each log.
MFC after: 2 weeks
Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
head/sbin/hastd/pjdlog.c
Modified: head/sbin/hastd/pjdlog.c
==============================================================================
--- head/sbin/hastd/pjdlog.c Fri Aug 27 21:20:32 2010 (r211897)
+++ head/sbin/hastd/pjdlog.c Fri Aug 27 21:26:55 2010 (r211898)
@@ -217,6 +217,7 @@ pjdlogv_common(int loglevel, int debugle
if (error != -1)
fprintf(out, ": %s.", strerror(error));
fprintf(out, "\n");
+ fflush(out);
break;
}
case PJDLOG_MODE_SYSLOG:
More information about the svn-src-all
mailing list