Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sbin/raidctl Pull up following revision(s) (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/4d071b29c57c
branches:  netbsd-7
changeset: 799454:4d071b29c57c
user:      snj <snj%NetBSD.org@localhost>
date:      Sun Jul 05 20:20:10 2015 +0000

description:
Pull up following revision(s) (requested by sborrill in ticket #862):
        sbin/raidctl/raidctl.c: revision 1.61
Compare correct length string for force option to -A

diffstat:

 sbin/raidctl/raidctl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cacf90ac714f -r 4d071b29c57c sbin/raidctl/raidctl.c
--- a/sbin/raidctl/raidctl.c    Sun Jul 05 20:15:03 2015 +0000
+++ b/sbin/raidctl/raidctl.c    Sun Jul 05 20:20:10 2015 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: raidctl.c,v 1.57.4.2 2015/06/09 20:49:28 snj Exp $   */
+/*      $NetBSD: raidctl.c,v 1.57.4.3 2015/07/05 20:20:10 snj Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: raidctl.c,v 1.57.4.2 2015/06/09 20:49:28 snj Exp $");
+__RCSID("$NetBSD: raidctl.c,v 1.57.4.3 2015/07/05 20:20:10 snj Exp $");
 #endif
 
 
@@ -812,7 +812,7 @@
 
        if (strncasecmp(autoconf, "root", 4) == 0 ||
            strncasecmp(autoconf, "hard", 4) == 0 ||
-           strncasecmp(autoconf, "force", 4) == 0) {
+           strncasecmp(autoconf, "force", 5) == 0) {
                root_config = 1;
        } else if (strncasecmp(autoconf, "soft", 4) == 0) {
                root_config = 2;



Home | Main Index | Thread Index | Old Index