summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2001-06-17 06:40:51 +0000
committerBrad Smith <brad@cvs.openbsd.org>2001-06-17 06:40:51 +0000
commita273c1f511c12d52e83b5c5a23b74190105537f1 (patch)
tree66c46d12a01f387974e01f633a47aae271c94c37
parentb34ffa3c9b4a3beae2c78b512fd2bab8f0baa721 (diff)
fix audio device creation.
-rw-r--r--etc/etc.powerpc/MAKEDEV12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV
index d84d1456270..7d8f519a17c 100644
--- a/etc/etc.powerpc/MAKEDEV
+++ b/etc/etc.powerpc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.44 2001/05/30 02:11:24 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.45 2001/06/17 06:40:50 brad Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -437,11 +437,11 @@ cd*)
audio*)
major=44
- audio=audio$n
- sound=sound$n
- mixer=mixer$n
- audioctl=audioctl$n
- rm -f $audio $sound $mixer $audioctl
+ audio=audio$unit
+ sound=sound$unit
+ mixer=mixer$unit
+ audioctl=audioctl$unit
+ rm -f $sound $audio $mixer $audioctl
mknod $sound c $major $unit
mknod $audio c $major $(( $unit + 128 ))
mknod $mixer c $major $(( $unit + 16 ))