svn commit: r216477 - head/sbin/hastd

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Dec 16 07:28:40 UTC 2010


Author: pjd
Date: Thu Dec 16 07:28:40 2010
New Revision: 216477
URL: http://svn.freebsd.org/changeset/base/216477

Log:
  Log the fact of launching and include protocol version number.
  
  MFC after:	3 days

Modified:
  head/sbin/hastd/hastd.c

Modified: head/sbin/hastd/hastd.c
==============================================================================
--- head/sbin/hastd/hastd.c	Thu Dec 16 07:20:38 2010	(r216476)
+++ head/sbin/hastd/hastd.c	Thu Dec 16 07:28:40 2010	(r216477)
@@ -619,6 +619,9 @@ main_loop(void)
 	PJDLOG_VERIFY(sigaddset(&mask, SIGTERM) == 0);
 	PJDLOG_VERIFY(sigaddset(&mask, SIGCHLD) == 0);
 
+	pjdlog_info("Started successfully, running protocol version %d.",
+	    HAST_PROTO_VERSION);
+
 	for (;;) {
 		while ((signo = sigtimedwait(&mask, NULL, &sigtimeout)) != -1) {
 			switch (signo) {


More information about the svn-src-head mailing list