mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
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:
committed by
Petro Karashchenko
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() */
|
||||
|
||||
Reference in New Issue
Block a user