Fix error: 'snprintf' output may be truncated before the last format character
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
be2f688cd9
commit
50f84f2632
@ -157,10 +157,10 @@
|
||||
|
||||
#ifdef CONFIG_HIDMOUSE_TSCIF
|
||||
# define DEV_FORMAT "/dev/input%d"
|
||||
# define DEV_NAMELEN 13
|
||||
# define DEV_NAMELEN 14
|
||||
#else
|
||||
# define DEV_FORMAT "/dev/mouse%d"
|
||||
# define DEV_NAMELEN 13
|
||||
# define DEV_NAMELEN 14
|
||||
#endif
|
||||
|
||||
/* Used in usbhost_cfgdesc() */
|
||||
|
Loading…
Reference in New Issue
Block a user