Searched hist:"68876 c38" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/scripts/kconfig/ |
H A D | nconf.c | 68876c38 Sat Apr 10 14:45:30 CDT 2021 Masahiro Yamada <masahiroy@kernel.org> kconfig: mconf,nconf: remove unneeded '\0' termination after snprintf()
snprintf() always terminates the destination buffer with '\0' even if the buffer is not long enough. (In this case, the last element of the buffer becomes '\0'.)
The explicit termination is unneeded.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
|
H A D | mconf.c | 68876c38 Sat Apr 10 14:45:30 CDT 2021 Masahiro Yamada <masahiroy@kernel.org> kconfig: mconf,nconf: remove unneeded '\0' termination after snprintf()
snprintf() always terminates the destination buffer with '\0' even if the buffer is not long enough. (In this case, the last element of the buffer becomes '\0'.)
The explicit termination is unneeded.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
|