summaryrefslogtreecommitdiff
path: root/lib/linux_compat.c
diff options
context:
space:
mode:
authorSimon South <[email protected]>2019-10-02 10:55:07 -0400
committerTom Rini <[email protected]>2019-10-31 07:22:53 -0400
commit9b3fbb2b439a717dda0eaa34cb455a9ce38532ef (patch)
treec0b5b8f7ac3647577352371be26db914592a0331 /lib/linux_compat.c
parent54b6abae3ae9dd181044ddd52429b4df5505872f (diff)
tiny-printf: Support vsnprintf()
Add a simple implementation of this function, to allow logging to be enabled in the SPL or TPL for systems that rely on the tiny printf() implementation. To keep the code size small, - The function is built only when logging is enabled, as it (currently) is not needed otherwise; and - Like the existing implementation of snprintf(), its buffer-size parameter is ignored. Signed-off-by: Simon South <[email protected]>
Diffstat (limited to 'lib/linux_compat.c')
0 files changed, 0 insertions, 0 deletions