mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +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
|
#ifdef CONFIG_HIDMOUSE_TSCIF
|
||||||
# define DEV_FORMAT "/dev/input%d"
|
# define DEV_FORMAT "/dev/input%d"
|
||||||
# define DEV_NAMELEN 13
|
# define DEV_NAMELEN 14
|
||||||
#else
|
#else
|
||||||
# define DEV_FORMAT "/dev/mouse%d"
|
# define DEV_FORMAT "/dev/mouse%d"
|
||||||
# define DEV_NAMELEN 13
|
# define DEV_NAMELEN 14
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Used in usbhost_cfgdesc() */
|
/* Used in usbhost_cfgdesc() */
|
||||||
|
|||||||
Reference in New Issue
Block a user