Commit 0845b3e0 authored by Zhu Jun's avatar Zhu Jun Committed by Takashi Iwai
Browse files

ALSA: usb-audio: Use snprintf instead of sprintf in build_mixer_unit_ctl



Simplified code by removing redundant assignment of sprintf return value
and improved safety by replacing sprintf with snprintf.

Signed-off-by: default avatarZhu Jun <zhujun2@cmss.chinamobile.com>
Link: https://patch.msgid.link/20241009070944.6937-1-zhujun2@cmss.chinamobile.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0498a04e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment