svn commit: r221074 - head/sbin/hastctl

Mikolaj Golub trociny at FreeBSD.org
Tue Apr 26 19:11:15 UTC 2011


Author: trociny
Date: Tue Apr 26 19:11:15 2011
New Revision: 221074
URL: http://svn.freebsd.org/changeset/base/221074

Log:
  Fix assert messages.
  
  Approved by:	pjd (mentor)

Modified:
  head/sbin/hastctl/hastctl.c

Modified: head/sbin/hastctl/hastctl.c
==============================================================================
--- head/sbin/hastctl/hastctl.c	Tue Apr 26 18:50:35 2011	(r221073)
+++ head/sbin/hastctl/hastctl.c	Tue Apr 26 19:11:15 2011	(r221074)
@@ -465,7 +465,7 @@ main(int argc, char *argv[])
 		}
 		break;
 	default:
-		assert(!"Impossible role!");
+		assert(!"Impossible command!");
 	}
 
 	/* Setup control connection... */
@@ -512,7 +512,7 @@ main(int argc, char *argv[])
 		error = control_status(nv);
 		break;
 	default:
-		assert(!"Impossible role!");
+		assert(!"Impossible command!");
 	}
 
 	exit(error);


More information about the svn-src-head mailing list