summaryrefslogtreecommitdiff
path: root/sound/isa/es1688/es1688_lib.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-05-02 08:24:42 +0200
committerTakashi Iwai <tiwai@suse.de>2017-05-02 08:24:42 +0200
commitd7dc450d5a7162de96edbed6b1792240c2f3a55f (patch)
treed6dc2d26b393dd69881cd4b9498718f65b35abeb /sound/isa/es1688/es1688_lib.c
parentd4a2fbcee0c8449ce24d6de168f3d90c5e6d7596 (diff)
parent0997e378be1d888a5d093eeee55f842cdfe55ebe (diff)
Merge branch 'for-next' into for-linus
For 4.12 merge.
Diffstat (limited to 'sound/isa/es1688/es1688_lib.c')
-rw-r--r--sound/isa/es1688/es1688_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/es1688/es1688_lib.c b/sound/isa/es1688/es1688_lib.c
index e2cf508841b1..81cf26fa28d6 100644
--- a/sound/isa/es1688/es1688_lib.c
+++ b/sound/isa/es1688/es1688_lib.c
@@ -742,7 +742,7 @@ int snd_es1688_pcm(struct snd_card *card, struct snd_es1688 *chip, int device)
pcm->private_data = chip;
pcm->info_flags = SNDRV_PCM_INFO_HALF_DUPLEX;
- sprintf(pcm->name, snd_es1688_chip_id(chip));
+ strcpy(pcm->name, snd_es1688_chip_id(chip));
chip->pcm = pcm;
snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,