Add bt_common_abort() and use it instead of abort() directly
[babeltrace.git] / src / argpar / argpar.c
index 5fbe8d3826b535f801a3b92b82d7ad4f5645ae35..7f4e46b3d758332eff529b1396cfb3d4c578e59e 100644 (file)
@@ -26,6 +26,7 @@
 #include <glib.h>
 
 #include "common/assert.h"
+#include "common/common.h"
 
 #include "argpar.h"
 
@@ -423,7 +424,7 @@ struct bt_argpar_parse_ret bt_argpar_parse(unsigned int argc,
                                parse_ret.error, i, orig_arg);
                        goto error;
                default:
-                       abort();
+                       bt_common_abort();
                }
 
                if (used_next_orig_arg) {
This page took 0.02389 seconds and 4 git commands to generate.