diff options
| author | KATO Takenori <kato@FreeBSD.org> | 1999-04-08 08:09:34 +0000 |
|---|---|---|
| committer | KATO Takenori <kato@FreeBSD.org> | 1999-04-08 08:09:34 +0000 |
| commit | 4ebe7771236be2ffc0492a71ad2861cde2d8efef (patch) | |
| tree | 0bae75b62ab6068004047412a6c6399a86a10166 | |
| parent | e8b4c53d73edbb331bfd406f3d242a0a2cf32754 (diff) | |
Notes
| -rw-r--r-- | sys/i386/include/soundcard.h | 2 | ||||
| -rw-r--r-- | sys/i386/isa/sound/mpu401.c | 5 | ||||
| -rw-r--r-- | sys/sys/soundcard.h | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/sys/i386/include/soundcard.h b/sys/i386/include/soundcard.h index a9fbe6a0458e1..fe9124e0272f5 100644 --- a/sys/i386/include/soundcard.h +++ b/sys/i386/include/soundcard.h @@ -649,7 +649,7 @@ struct sbi_instrument { }; struct synth_info { /* Read only */ - char name[33]; + char name[30]; int device; /* 0-N. INITIALIZE BEFORE CALLING */ int synth_type; #define SYNTH_TYPE_FM 0 diff --git a/sys/i386/isa/sound/mpu401.c b/sys/i386/isa/sound/mpu401.c index 14c920cf422e6..2858ef3236b91 100644 --- a/sys/i386/isa/sound/mpu401.c +++ b/sys/i386/isa/sound/mpu401.c @@ -1032,11 +1032,10 @@ attach_mpu401(struct address_info * hw_config) snprintf(mpu_synth_info[num_midis].name, sizeof(mpu_synth_info[num_midis].name), - "MPU-401 %d.%d%c Midi interface #%d", + "MPU-401 %d.%d%c Midi interface", (int) (devc->version & 0xf0) >> 4, devc->version & 0x0f, - revision_char, - n_mpu_devs); + revision_char); } strcpy(mpu401_midi_operations[num_midis].info.name, diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h index a9fbe6a0458e1..fe9124e0272f5 100644 --- a/sys/sys/soundcard.h +++ b/sys/sys/soundcard.h @@ -649,7 +649,7 @@ struct sbi_instrument { }; struct synth_info { /* Read only */ - char name[33]; + char name[30]; int device; /* 0-N. INITIALIZE BEFORE CALLING */ int synth_type; #define SYNTH_TYPE_FM 0 |
