diff options
Diffstat (limited to 'sound/pci/rme9652')
-rw-r--r-- | sound/pci/rme9652/hdspm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index 2907e68150cb..e98dc008de0b 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c | |||
@@ -6400,7 +6400,7 @@ static int snd_hdspm_hwdep_ioctl(struct snd_hwdep *hw, struct file *file, | |||
6400 | memset(&hdspm_version, 0, sizeof(hdspm_version)); | 6400 | memset(&hdspm_version, 0, sizeof(hdspm_version)); |
6401 | 6401 | ||
6402 | hdspm_version.card_type = hdspm->io_type; | 6402 | hdspm_version.card_type = hdspm->io_type; |
6403 | strncpy(hdspm_version.cardname, hdspm->card_name, | 6403 | strlcpy(hdspm_version.cardname, hdspm->card_name, |
6404 | sizeof(hdspm_version.cardname)); | 6404 | sizeof(hdspm_version.cardname)); |
6405 | hdspm_version.serial = hdspm->serial; | 6405 | hdspm_version.serial = hdspm->serial; |
6406 | hdspm_version.firmware_rev = hdspm->firmware_rev; | 6406 | hdspm_version.firmware_rev = hdspm->firmware_rev; |