svn commit: r219833 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Mar 21 15:08:10 UTC 2011
Author: pjd
Date: Mon Mar 21 15:08:10 2011
New Revision: 219833
URL: http://svn.freebsd.org/changeset/base/219833
Log:
Remove stale comment. Yes, it is valid to set role back to init.
MFC after: 1 week
Modified:
head/sbin/hastd/control.c
Modified: head/sbin/hastd/control.c
==============================================================================
--- head/sbin/hastd/control.c Mon Mar 21 14:53:27 2011 (r219832)
+++ head/sbin/hastd/control.c Mon Mar 21 15:08:10 2011 (r219833)
@@ -327,7 +327,7 @@ control_handle(struct hastd_config *cfg)
if (cmd == HASTCTL_SET_ROLE) {
role = nv_get_uint8(nvin, "role");
switch (role) {
- case HAST_ROLE_INIT: /* Is that valid to set, hmm? */
+ case HAST_ROLE_INIT:
case HAST_ROLE_PRIMARY:
case HAST_ROLE_SECONDARY:
break;
More information about the svn-src-head
mailing list