Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2010 07:28:40 +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: r216477 - head/sbin/hastd
Message-ID:  <201012160728.oBG7SehW029808@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012160728.oBG7SehW029808>