va_start(argv, msg);
psi_verror(type, fn, ln, msg, argv);
-#ifdef __clang__
va_end(argv);
+
va_start(argv, msg);
-#endif
- PSI_DEBUG_PRINTV(context, msg, argv);
+ PSI_DEBUG_LOCK(context,
+ PSI_DEBUG_PRINTV(context, msg, argv);
+ PSI_DEBUG_PRINT(context, "\n");
+ );
va_end(argv);
if (context) {