Segfault when panic()ing -- simplifies debugging.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20878 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f7d4785d7a
commit
a49b91c957
@ -57,9 +57,12 @@ fssh_panic(const char *format, ...)
|
||||
va_start(args, format);
|
||||
|
||||
vfprintf(stderr, format, args);
|
||||
exit(1);
|
||||
|
||||
va_end(args);
|
||||
|
||||
// exit(1);
|
||||
int* badAddress = 0;
|
||||
*badAddress = 42;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user