Browse Source

fix audio device creation.

--
Reported by & fix tested by: Denis A. Doroshenko <d.doroshenko@omnitel.net>
OPENBSD_3_0
brad 23 years ago
parent
commit
2beead7489
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/etc/etc.i386/MAKEDEV

+ 5
- 5
src/etc/etc.i386/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/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 $ # $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -577,10 +577,10 @@ lkm)
audio*) audio*)
major=42 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 rm -f $sound $audio $mixer $audioctl
mknod $sound c $major $unit mknod $sound c $major $unit
mknod $audio c $major $(( $unit + 128 )) mknod $audio c $major $(( $unit + 128 ))


Loading…
Cancel
Save