From 61fca96c29104683da74c913cfbf4005ba95cf77 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 21 Nov 2016 23:37:31 -0500 Subject: assert(0) -> ceph_abort() Signed-off-by: Sage Weil --- src/mon/MonmapMonitor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mon/MonmapMonitor.cc') diff --git a/src/mon/MonmapMonitor.cc b/src/mon/MonmapMonitor.cc index d0eacb0ab53..c4512dc7dc2 100644 --- a/src/mon/MonmapMonitor.cc +++ b/src/mon/MonmapMonitor.cc @@ -183,7 +183,7 @@ bool MonmapMonitor::preprocess_query(MonOpRequestRef op) case MSG_MON_JOIN: return preprocess_join(op); default: - assert(0); + ceph_abort(); return true; } } @@ -311,7 +311,7 @@ bool MonmapMonitor::prepare_update(MonOpRequestRef op) case MSG_MON_JOIN: return prepare_join(op); default: - assert(0); + ceph_abort(); } return false; -- cgit v1.2.3