diff options
author | Sage Weil <sage@newdream.net> | 2008-10-13 22:32:03 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2008-10-13 22:32:03 +0200 |
commit | 8ba36cd8c85cbd5c7b6e178dbd59d371cc3c4697 (patch) | |
tree | babf455aa14a599147266f0c9942ce9eecda6986 /src/crush/crush.c | |
parent | objecter: ping laggy osds (diff) | |
download | ceph-8ba36cd8c85cbd5c7b6e178dbd59d371cc3c4697.tar.xz ceph-8ba36cd8c85cbd5c7b6e178dbd59d371cc3c4697.zip |
custom assertion handler
Print assertion error to log file, if it is open.
Diffstat (limited to 'src/crush/crush.c')
-rw-r--r-- | src/crush/crush.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crush/crush.c b/src/crush/crush.c index 26ec8530f2a..4e630b0c80d 100644 --- a/src/crush/crush.c +++ b/src/crush/crush.c @@ -4,6 +4,7 @@ # define free(x) kfree(x) #else # include <stdlib.h> +# include <assert.h> #endif #include "crush.h" |