Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2011 07:24:47 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r221361 - stable/8/usr.sbin/mfiutil
Message-ID:  <201105030724.p437OlG4074668@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pluknet
Date: Tue May  3 07:24:47 2011
New Revision: 221361
URL: http://svn.freebsd.org/changeset/base/221361

Log:
  MFC r221119:
  Fix typo in "continuously" argument used in patrol auto command.
  
  Unlike the version in head, this one preserves a misspelled version.

Modified:
  stable/8/usr.sbin/mfiutil/mfi_patrol.c
Directory Properties:
  stable/8/usr.sbin/mfiutil/   (props changed)

Modified: stable/8/usr.sbin/mfiutil/mfi_patrol.c
==============================================================================
--- stable/8/usr.sbin/mfiutil/mfi_patrol.c	Tue May  3 05:42:50 2011	(r221360)
+++ stable/8/usr.sbin/mfiutil/mfi_patrol.c	Tue May  3 07:24:47 2011	(r221361)
@@ -252,7 +252,8 @@ patrol_config(int ac, char **av)
 	if (strcasecmp(av[1], "auto") == 0) {
 		op_mode = MFI_PR_OPMODE_AUTO;
 		if (ac > 2) {
-			if (strcasecmp(av[2], "continously") == 0)
+			if (strcasecmp(av[2], "continously") == 0 ||
+			    strcasecmp(av[2], "continuously") == 0)
 				exec_freq = 0xffffffff;
 			else {
 				val = strtol(av[2], &cp, 0);



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