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) {
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to