minor fixes; bad printf -v return status

This commit is contained in:
Chet Ramey
2021-08-18 11:32:26 -04:00
parent f5b3299801
commit cf8298cb22
4 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ u32tocesc (wc, s)
if (wc < 0x10000)
l = sprintf (s, "\\u%04X", wc);
else
l = sprintf (s, "\\u%08X", wc);
l = sprintf (s, "\\U%08X", wc);
return l;
}