summaryrefslogtreecommitdiff
path: root/sysdeps/sparc/backtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/backtrace.c')
-rw-r--r--sysdeps/sparc/backtrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sparc/backtrace.c b/sysdeps/sparc/backtrace.c
index 754f45bfeb..0c1c9b5c72 100644
--- a/sysdeps/sparc/backtrace.c
+++ b/sysdeps/sparc/backtrace.c
@@ -1,5 +1,5 @@
/* Return backtrace of current program state.
- Copyright (C) 2013-2015 Free Software Foundation, Inc.
+ Copyright (C) 2013-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David S. Miller <davem@davemloft.net>
@@ -108,7 +108,7 @@ __backtrace (void **array, int size)
bool use_unwinder;
int count;
- if (!size)
+ if (size <= 0)
return 0;
use_unwinder = true;