Module Name:    src
Committed By:   mrg
Date:           Sun Jul  5 21:35:16 UTC 2009

Modified Files:
        src/etc: MAKEDEV.tmpl

Log Message:
fix previous to actually pay attention to the unit number.
noted by drochner.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/etc/MAKEDEV.tmpl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/MAKEDEV.tmpl
diff -u src/etc/MAKEDEV.tmpl:1.126 src/etc/MAKEDEV.tmpl:1.127
--- src/etc/MAKEDEV.tmpl:1.126	Fri Jul  3 06:33:56 2009
+++ src/etc/MAKEDEV.tmpl	Sun Jul  5 21:35:16 2009
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#	$NetBSD: MAKEDEV.tmpl,v 1.126 2009/07/03 06:33:56 mrg Exp $
+#	$NetBSD: MAKEDEV.tmpl,v 1.127 2009/07/05 21:35:16 mrg Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1904,7 +1904,7 @@
 
 dri*)
 	makedir dri 755
-	mkdev dri/card$unit c %dri_chr% 2 660
+	mkdev dri/card$unit c %dri_chr% $unit 660
 	;;
 
 drvctl)

Reply via email to