diff options
author | bde <bde@FreeBSD.org> | 1998-07-15 12:18:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-15 12:18:34 +0000 |
commit | 8b2af4315ed5b0870bad6a1f5c6da95c5e4339ae (patch) | |
tree | a7ecbc96283be7eada2b734b8cfb6d8fc284d2f5 /sys/i386/isa/sound | |
parent | cea29ea511d3ae5ee2696d57f192e3f7fc82c6d9 (diff) | |
download | FreeBSD-src-8b2af4315ed5b0870bad6a1f5c6da95c5e4339ae.zip FreeBSD-src-8b2af4315ed5b0870bad6a1f5c6da95c5e4339ae.tar.gz |
Changed %n to %r in devfs name format strings. %n has almost gone away.
Diffstat (limited to 'sys/i386/isa/sound')
-rw-r--r-- | sys/i386/isa/sound/soundcard.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c index c1ffa7d..4661c6b 100644 --- a/sys/i386/isa/sound/soundcard.c +++ b/sys/i386/isa/sound/soundcard.c @@ -462,35 +462,35 @@ sndattach(struct isa_device * dev) if (dev->id_driver == &opldriver){ tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_SEQ, DV_CHR, UID_SND, GID_SND, PERM_SND, - "sequencer%n", dev->id_unit); + "sequencer%r", dev->id_unit); if (tmp) devfs_link(tmp, "sequencer"); } else if (dev->id_driver == &mpudriver || dev->id_driver == &sbmididriver || dev->id_driver == &uartdriver){ tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_MIDIN, DV_CHR, UID_SND, GID_SND, PERM_SND, - "midi%n", dev->id_unit); + "midi%r", dev->id_unit); if (tmp) devfs_link(tmp, "midi"); } else { tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_DSP, DV_CHR, UID_SND, GID_SND, PERM_SND, - "dsp%n", dev->id_unit); + "dsp%r", dev->id_unit); if (tmp) devfs_link(tmp, "dsp"); tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_DSP16, DV_CHR, UID_SND, GID_SND, PERM_SND, - "dspW%n", dev->id_unit); + "dspW%r", dev->id_unit); if (tmp) devfs_link(tmp, "dspW"); tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_AUDIO, DV_CHR, UID_SND, GID_SND, PERM_SND, - "audio%n", dev->id_unit); + "audio%r", dev->id_unit); if (tmp) devfs_link(tmp, "audio"); tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_CTL, DV_CHR, UID_SND, GID_SND, PERM_SND, - "mixer%n", dev->id_unit); + "mixer%r", dev->id_unit); if (tmp) devfs_link(tmp, "mixer"); tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_STATUS, DV_CHR, UID_SND, GID_SND, PERM_SND, - "sndstat%n", dev->id_unit); + "sndstat%r", dev->id_unit); if (tmp) devfs_link(tmp, "sndstat"); } #endif /* DEVFS */ |