summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-09-06 10:42:40 -0700
committerElliott Hughes <enh@google.com>2018-09-06 10:42:40 -0700
commitf340a56d1c7aa469ccb4150521aba19f5c73dcf0 (patch)
treecc41e09773b753e85fb7a503cd257cf808fea7c0 /libc/malloc_hooks/malloc_hooks.cpp
parent74934aaf10d629de477095f0b92c467849f89638 (diff)
Use strerror_r(3) for the printf family %m.
There's TLS space used for unknown errno values, and a call to printf shouldn't clobber that. No-one will ever hit this in real life, but since it's easily fixed... Bug: http://b/112776560 Test: ran tests Change-Id: I8c2437f2e5214e652119791d4e162a197b049d5b
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions