From: Sage Weil Date: Mon, 27 Jun 2016 18:22:53 +0000 (-0700) Subject: include/assert: ceph_abort should call abort(), not assert(0) X-Git-Tag: ses5-milestone5~516^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8b4aef679c65f14fa307db3d8d3eec236226636a;p=ceph.git include/assert: ceph_abort should call abort(), not assert(0) Signed-off-by: Sage Weil --- diff --git a/src/include/assert.h b/src/include/assert.h index 94f9d7407c75..4131dff54fa5 100644 --- a/src/include/assert.h +++ b/src/include/assert.h @@ -1,6 +1,8 @@ #ifndef CEPH_ASSERT_H #define CEPH_ASSERT_H +#include + #if defined(__linux__) #include @@ -117,7 +119,7 @@ using namespace ceph; * Currently, it's the same as assert(0), but we may one day make assert a * debug-only thing, like it is in many projects. */ -#define ceph_abort() assert(0) +#define ceph_abort() abort() #endif