diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libc/malloc/malloc0test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libc/malloc/malloc0test.c b/src/regress/lib/libc/malloc/malloc0test.c index d226af5a28..99eef67196 100644 --- a/src/regress/lib/libc/malloc/malloc0test.c +++ b/src/regress/lib/libc/malloc/malloc0test.c | |||
@@ -17,11 +17,11 @@ void | |||
17 | catch(int signo) | 17 | catch(int signo) |
18 | { | 18 | { |
19 | got++; | 19 | got++; |
20 | longjmp(jmp, 0); | 20 | longjmp(jmp, 1); |
21 | } | 21 | } |
22 | 22 | ||
23 | int | 23 | int |
24 | test(caddr_t p, int size) | 24 | test(char *p, int size) |
25 | { | 25 | { |
26 | signal(SIGSEGV, catch); | 26 | signal(SIGSEGV, catch); |
27 | got = 0; | 27 | got = 0; |