Colin Percival
b80a1b584f
MFC: Add TSLOG to loader sprintf
...
loader tslog: Don't use sprintf
loader printf: Profile with TSLOG
Sponsored by: https://www.patreon.com/cperciva
(cherry picked from commit 242923eb84 )
(cherry picked from commit 0a35c4b3ca )
2021-12-29 14:53:19 -08:00
Toomas Soome
98e28b71b2
loader: asprinf does crash arm64 due to missing NULL pointer check
...
PCHAR macro needs to check if d is NULL.
MFC after: 3 days
2019-11-01 06:54:07 +00:00
Toomas Soome
5e84b57828
libsa: add asprintf()
...
asprintf() is a nice tool for string processing.
MFC after: 2 weeks
2019-01-17 22:00:02 +00:00
Ian Lepore
3e9c7874ce
Make the v*printf() functions in libsa return int instead of void.
...
This makes them compatible with the C standard signatures, avoiding
spurious mismatch errors in the places where the oddball requirements
of standalone code end up putting two declarations of the same function
in play.
2018-06-05 17:18:10 +00:00
Ian Lepore
1851d70d31
Add vsnprintf() to libsa. Alpha-sort the printf prototypes in stand.h.
...
I'm not sure why the v*printf() functions in libsa return void instead of
int, but this maintains that convention for the new function.
2018-06-05 14:47:13 +00:00
Warner Losh
ca987d4641
Move sys/boot to stand. Fix all references to new location
...
Sponsored by: Netflix
2017-11-14 23:02:19 +00:00