summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2001-06-04 15:29:00 +0000
committerbrad <brad@openbsd.org>2001-06-04 15:29:00 +0000
commit70809436db518a9449aff01bc25f30c3aa202c63 (patch)
treef0cfcc1f880169031feede3bd756b3989635db77
parentmake kqueue behave like select when testing for write instead of bailing (diff)
downloadwireguard-openbsd-70809436db518a9449aff01bc25f30c3aa202c63.tar.xz
wireguard-openbsd-70809436db518a9449aff01bc25f30c3aa202c63.zip
fix audio device creation.
-- Reported by & fix tested by: Denis A. Doroshenko <d.doroshenko@omnitel.net>
-rw-r--r--etc/etc.i386/MAKEDEV10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index b707769c4f0..170bf332b60 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.94 2001/05/30 02:11:17 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.95 2001/06/04 15:29:00 brad Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -577,10 +577,10 @@ lkm)
audio*)
major=42
- audio=audio$n
- sound=sound$n
- mixer=mixer$n
- audioctl=audioctl$n
+ 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 ))