From: Christoph Hellwig Date: Fri, 23 Sep 2016 03:22:56 +0000 (-0700) Subject: use abort() instead of __builtin_abort X-Git-Tag: v1.0~51 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=822e47999d9ef94291e8e24db5ea928dd3c5d8e2;p=users%2Fsagi%2Fnvme-cli.git use abort() instead of __builtin_abort This is more portable to different compilers, but should otherwise have the same effect. Signed-off-by: Christoph Hellwig Signed-off-by: Keith Busch --- diff --git a/json.c b/json.c index e9fcf077..e127aa25 100644 --- a/json.c +++ b/json.c @@ -8,7 +8,7 @@ static inline void fail_and_notify(void) { fprintf(stderr, "Allocation of memory for json object failed, aborting.\n"); - __builtin_abort(); + abort(); } struct json_object *json_create_object(void)