summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-12-06 23:06:10 +0000
committerache <ache@FreeBSD.org>1994-12-06 23:06:10 +0000
commit9eb8d2804904ca5b533bfdaba8d64c30784953b8 (patch)
tree5b18a3ab1140308a160c9f9c1f051b1dc6077b6a /etc/MAKEDEV
parentd6caace99e0f800084b4c55c7ba5dbc7aa2442fb (diff)
downloadFreeBSD-src-9eb8d2804904ca5b533bfdaba8d64c30784953b8.zip
FreeBSD-src-9eb8d2804904ca5b533bfdaba8d64c30784953b8.tar.gz
Fix wrong unit=expr for tty? cua?
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 9fb930b..df8672a 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -70,7 +70,7 @@
# socksys iBCS2 socket system driver
# vat VAT compatibility audio driver (requires snd*)
#
-# $Id: MAKEDEV,v 1.56 1994/12/04 23:50:40 ache Exp $
+# $Id: MAKEDEV,v 1.57 1994/12/06 19:50:17 bde Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@@ -470,7 +470,7 @@ speaker)
cuaa?|cua?)
umask 7
- unit=`expr $i : 'cuaa*\(.\)$'`
+ unit=`expr $i : 'cua*\(.\)$'`
rm -f cua*a$unit
m=`ttyminor $unit`
mknod cuaa$unit c 28 `expr $m + 128`
@@ -481,7 +481,7 @@ cuaa?|cua?)
;;
ttyd?|tty?)
- unit=`expr $i : 'ttyd*\(.\)$'`
+ unit=`expr $i : 'tty*\(.\)$'`
rm -f tty*d$unit
m=`ttyminor $unit`
mknod ttyd$unit c 28 $m
OpenPOWER on IntegriCloud