Fix %hhd formats in the printf family.
Found by adapting the simple unit tests for libc logging to test snprintf too. Fix taken from upstream OpenBSD without updating the rest of stdio. Change-Id: Ie339a8e9393a36080147aae4d6665118e5d93647
This commit is contained in:
@@ -93,3 +93,5 @@ extern int __sdidinit;
|
||||
|
||||
#define FLOCKFILE(fp) do { if (__isthreaded) flockfile(fp); } while (0)
|
||||
#define FUNLOCKFILE(fp) do { if (__isthreaded) funlockfile(fp); } while (0)
|
||||
|
||||
#define FLOATING_POINT
|
||||
|
Reference in New Issue
Block a user