Source-Changes-HG archive

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

[src/trunk]: src/sbin/raidctl Since this is the only place it's used, nuke RF...



details:   https://anonhg.NetBSD.org/src/rev/0294501efe54
branches:  trunk
changeset: 515459:0294501efe54
user:      oster <oster%NetBSD.org@localhost>
date:      Wed Sep 26 02:59:40 2001 +0000

description:
Since this is the only place it's used, nuke RF_DEV2RAIDID and
replace it with DISKUNIT.

diffstat:

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

diffs (18 lines):

diff -r 916f004b6357 -r 0294501efe54 sbin/raidctl/raidctl.c
--- a/sbin/raidctl/raidctl.c    Wed Sep 26 02:52:57 2001 +0000
+++ b/sbin/raidctl/raidctl.c    Wed Sep 26 02:59:40 2001 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: raidctl.c,v 1.27 2001/07/10 01:30:52 lukem Exp $   */
+/*      $NetBSD: raidctl.c,v 1.28 2001/09/26 02:59:40 oster Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -245,7 +245,7 @@
                exit(1);
        }
 
-       raidID = RF_DEV2RAIDID(st.st_rdev);
+       raidID = DISKUNIT(st.st_rdev);
 
        switch(action) {
        case RAIDFRAME_ADD_HOT_SPARE:



Home | Main Index | Thread Index | Old Index