]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/logging/logging.h
import quincy beta 17.1.0
[ceph.git] / ceph / src / rocksdb / logging / logging.h
index 178addcc3b80793efc138ad0a87e4685ccbc15b6..5851115695f8177741ff5e6ac2f9f3c7df23053d 100644 (file)
@@ -19,9 +19,9 @@
 
 inline const char* RocksLogShorterFileName(const char* file)
 {
-  // 15 is the length of "logging/logging.h".
+  // 18 is the length of "logging/logging.h".
   // If the name of this file changed, please change this number, too.
-  return file + (sizeof(__FILE__) > 15 ? sizeof(__FILE__) - 15 : 0);
+  return file + (sizeof(__FILE__) > 18 ? sizeof(__FILE__) - 18 : 0);
 }
 
 // Don't inclide file/line info in HEADER level