summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2016-03-12 17:58:59 +0000
committerespie <espie@openbsd.org>2016-03-12 17:58:59 +0000
commit8ff8729a34b76e0d6a32a701109fbde3c31f8fa4 (patch)
tree5a07bdec2390c0e8a859782f3534383923578232
parentStandardize on calling local scsi_link variables 'link' instead of (diff)
downloadwireguard-openbsd-8ff8729a34b76e0d6a32a701109fbde3c31f8fa4.tar.xz
wireguard-openbsd-8ff8729a34b76e0d6a32a701109fbde3c31f8fa4.zip
tweak MAKEDEV.mi to use new makedev(8) capabilities and speed it up.
-rw-r--r--etc/MAKEDEV.mi7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/MAKEDEV.mi b/etc/MAKEDEV.mi
index f663433d54d..7625c740d48 100644
--- a/etc/MAKEDEV.mi
+++ b/etc/MAKEDEV.mi
@@ -1,7 +1,7 @@
define(COMM,`#')dnl
include(MAKEDEV.sub)dnl
dnl
-vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.81 2012/11/05 08:07:09 jasper Exp $-})dnl
+vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.82 2016/03/12 17:58:59 espie Exp $-})dnl
dnl
divert(1)dnl
{-#-}
@@ -171,9 +171,10 @@ RMlist[0]="rm -f"
mkl() {
dnl
-dnl non multi mknod
+dnl multi mknod
dnl
- mklist[{-$-}{#mklist[*]}]=";mknod -m {-$-}1 {-$-}2 {-$-}3 {-$-}4 {-$-}5"
+ : {-$-}{mklist[0]:=";mknod"}
+ mklist[{-$-}{#mklist[*]}]=" -m {-$-}1 {-$-}2 {-$-}3 {-$-}4 {-$-}5"
}
M() {