From: huanwen ren Date: Fri, 20 May 2016 08:41:39 +0000 (+0800) Subject: mon/log: using standard macros instead of -1 X-Git-Tag: v11.0.0~487^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9219%2Fhead;p=ceph.git mon/log: using standard macros instead of -1 using standard macros instead of -1 Signed-off-by: huanwen ren --- diff --git a/src/mon/LogMonitor.cc b/src/mon/LogMonitor.cc index f57c830e51f8..567ff2b68d30 100644 --- a/src/mon/LogMonitor.cc +++ b/src/mon/LogMonitor.cc @@ -435,7 +435,7 @@ int LogMonitor::sub_name_to_id(const string& n) return CLOG_WARN; if (n == "log-error") return CLOG_ERROR; - return -1; + return CLOG_UNKNOWN; } void LogMonitor::check_subs()