PED_EXCEPTION_FATAL is an exception type not an exception option so cannot be passed as the second argument. Pass PED_EXCEPTION_UNHANDLED instead.
Signed-off-by: Will Newton <[email protected]> --- libparted/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libparted/debug.c b/libparted/debug.c index c47a9f5..25be60b 100644 --- a/libparted/debug.c +++ b/libparted/debug.c @@ -105,7 +105,7 @@ void ped_assert (const char* cond_text, /* Throw the exception */ ped_exception_throw ( PED_EXCEPTION_BUG, - PED_EXCEPTION_FATAL, + PED_EXCEPTION_UNHANDLED, _("Assertion (%s) at %s:%d in function %s() failed."), cond_text, file, line, function); abort (); -- 2.9.4

