summaryrefslogtreecommitdiff
path: root/src/stdlib/abort_handler_s.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2023-11-14 16:31:31 -0500
committerJakob Kaivo <jkk@ung.org>2023-11-14 16:31:31 -0500
commit0030c5ea720f492fcaed2cd5ebb52f7ad54170fd (patch)
tree2c507618e3c22ce1062d823200d0811375797fcd /src/stdlib/abort_handler_s.c
parent88aa612a4e75833368f6c4552d95d1d5c1232555 (diff)
return 0 if c is EOF
Diffstat (limited to 'src/stdlib/abort_handler_s.c')
-rw-r--r--src/stdlib/abort_handler_s.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdlib/abort_handler_s.c b/src/stdlib/abort_handler_s.c
index c08ebb4e..c35148a7 100644
--- a/src/stdlib/abort_handler_s.c
+++ b/src/stdlib/abort_handler_s.c
@@ -12,6 +12,7 @@ void abort_handler_s(const char * restrict msg, void * restrict ptr, errno_t err
puts(msg);
if (ci) {
printf("In call to %s\n", ci->func);
+ printf("value %x\n", ci->value);
}
if (error != 0) {
printf("Provided error: %s (%d)\n", strerror(error), error);