--- alsa-kernel/core/seq/seq_midi.c.old Wed Feb 19 23:23:50 2003 +++ alsa-kernel/core/seq/seq_midi.c Thu Feb 20 00:20:09 2003 @@ -329,7 +329,10 @@ memset(&inf,0,sizeof(snd_seq_client_info_t)); inf.client = client->seq_client; inf.type = KERNEL_CLIENT; - sprintf(inf.name, "External MIDI %i", card->number); + if (info.name[0]) + strncpy(inf.name, info.name, sizeof(inf.name) - 1); + else + sprintf(inf.name, "External MIDI %i", card->number); snd_seq_kernel_client_ctl(client->seq_client, SNDRV_SEQ_IOCTL_SET_CLIENT_INFO, &inf); }