Source-Changes-HG archive

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

[src/trunk]: src/etc Actually use unit number for iscsi device.



details:   https://anonhg.NetBSD.org/src/rev/4a14e4e99f04
branches:  trunk
changeset: 449874:4a14e4e99f04
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Wed Mar 27 06:55:09 2019 +0000

description:
Actually use unit number for iscsi device.

diffstat:

 etc/MAKEDEV.tmpl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r e0ed8632ff00 -r 4a14e4e99f04 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl  Wed Mar 27 05:47:50 2019 +0000
+++ b/etc/MAKEDEV.tmpl  Wed Mar 27 06:55:09 2019 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV.tmpl,v 1.200 2019/03/26 09:13:55 pgoyette Exp $
+#      $NetBSD: MAKEDEV.tmpl,v 1.201 2019/03/27 06:55:09 mlelstv Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -2191,7 +2191,7 @@
 
 iscsi[0-9]*)
        unit=${i#iscsi}
-       mkdev iscsi${unit} c %iscsi_chr% 0 600
+       mkdev iscsi${unit} c %iscsi_chr% $unit 600
        ;;
 
 vchiq)



Home | Main Index | Thread Index | Old Index