Xiang Xiao
|
7c37421266
|
Replace all sprintf with snprintf
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2023-05-08 21:35:16 +03:00 |
|
chao an
|
8ad4ae5508
|
net: fix compiler warning
sixlowpan_assocresp.c: In function ‘sixlowpan_assoc_resp’:
sixlowpan_assocresp.c:48:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
48 | strncpy(arg.ifr_name, ifname, IFNAMSIZ);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: chao an <anchao@xiaomi.com>
|
2023-02-08 00:35:39 +08:00 |
|
Xiang Xiao
|
dd5dbde620
|
Fix Error: slcan.c:266:60: error: format specifies type 'unsigned long' but the argument has type 'canid_t' (aka 'unsigned int') [-Werror,-Wformat]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-13 14:55:30 +01:00 |
|
Xiang Xiao
|
8094ced139
|
Fix Error: slcan.c:265:19: error: variable 'reccount' is uninitialized when used here [-Werror,-Wuninitialized]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-11-13 14:55:30 +01:00 |
|
Xiang Xiao
|
a12707177b
|
Remove "| O_BINARY" or " |= O_BINARY" since O_BINARY is 0 now
follow nuttx kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-06-07 20:22:38 +03:00 |
|
raiden00pl
|
f4a1d28fd5
|
canutils/slcan: make stacksize configurable
|
2022-01-23 01:34:23 +08:00 |
|
Jari van Ewijk
|
7cbe2db2c9
|
SLCAN: Fix incorrect format identifier in print function
|
2021-09-17 08:20:08 -05:00 |
|
Peter van der Perk
|
b7ef4fb513
|
canutils/slcan: use syslog and cleanup
|
2021-01-21 11:12:14 -03:00 |
|
Peter van der Perk
|
e12e8016f2
|
canutils/slcan: Add SLCAN utility
|
2021-01-21 11:12:14 -03:00 |
|