aboutsummaryrefslogtreecommitdiffstats
path: root/labs.c
diff options
context:
space:
mode:
Diffstat (limited to 'labs.c')
-rw-r--r--labs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/labs.c b/labs.c
index 3979dff..7e1ea0a 100644
--- a/labs.c
+++ b/labs.c
@@ -10,6 +10,7 @@ liberror_labs(long int i)
#else
if (i != LONG_MIN)
return labs(i);
+ liberror_save_backtrace(NULL);
liberror_set_error_errno("The absolute value of largest negative integer "
"cannot be represented as a signed integer",
"labs", EOVERFLOW);