backtrace.3: Small fixes to example program

Reported-by: Martin Gebert <Murphy.Gebert@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-02-26 16:45:17 +01:00
parent d4b9c2c3f3
commit a222234619
1 changed files with 2 additions and 2 deletions

View File

@ -215,8 +215,8 @@ void
myfunc3(void)
{
int j, nptrs;
#define SIZE 100
void *buffer[100];
const int SIZE = 100;
void *buffer[SIZE];
char **strings;
nptrs = backtrace(buffer, SIZE);