summaryrefslogtreecommitdiff
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-02-03 15:55:02 -0500
committerTom Rini <trini@konsulko.com>2022-02-03 15:55:02 -0500
commit3e5f4b337d89e95af9d3700a4b055b552bf22ac4 (patch)
tree86ff5fbee12f43f7d700d130c92009aef12fc185 /lib/vsprintf.c
parent006fddde01da7e8b3c7cad4a35f3245edc894ab4 (diff)
parent5b9a5b2b966bf738ca4115a9dca52d0dc9f2710d (diff)
Merge branch '2022-02-03-assorted-fixes'
- Update CI image to have libgnutls available. - Assorted ARM and SPL bugfixes
Diffstat (limited to 'lib/vsprintf.c')
-rw-r--r--lib/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 2c84649fa8a..69b2f6a1adc 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -279,7 +279,7 @@ static char *string(char *buf, char *end, const char *s, int field_width,
static __maybe_unused char *string16(char *buf, char *end, u16 *s,
int field_width, int precision, int flags)
{
- const u16 *str = s ? s : L"<NULL>";
+ const u16 *str = s ? s : u"<NULL>";
ssize_t i, len = utf16_strnlen(str, precision);
if (!(flags & LEFT))