s3/lib: add log_panic_action()
[samba.git] / source3 / lib / util.c
index b12dffb33ae5bb1ed9d71fe06453edcac0069c83..51dc50d0b66e54df6de75d9efc8113bfd9da6edf 100644 (file)
@@ -720,6 +720,12 @@ void smb_panic_s3(const char *why)
        dump_core();
 }
 
+void log_panic_action(const char *msg)
+{
+       DBG_ERR("%s", msg);
+       call_panic_action(msg, true);
+}
+
 /*******************************************************************
   A readdir wrapper which just returns the file name.
  ********************************************************************/