From fb15277b5e4064432feb79f37f010c792cee1634 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 28 Oct 1998 06:05:34 +0000 Subject: use abort() instead of exit() in smb_panic() the reason we don't return() here is that smb_panic() is used not just for segv but also for detected errors (such as buffer overflows) (This used to be commit 7a50ca81a5842f7139e67c0ff9de79518599f445) --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index ced6786194..a050029548 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -4179,7 +4179,7 @@ void smb_panic(char *why) system(cmd); } DEBUG(0,("PANIC: %s\n", why)); - exit(1); + abort(); } -- cgit