Print this page
8115 parallel zfs mount

@@ -20,10 +20,11 @@
  */
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright (c) 2012 by Delphix. All rights reserved.
  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+ * Copyright 2017 RackTop Systems.
  */
 
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/varargs.h>

@@ -121,10 +122,20 @@
 
 void
 panic(const char *fmt, ...)
 {
         va_list adx;
+
+        va_start(adx, fmt);
+        vpanic(fmt, adx);
+        va_end(adx);
+}
+
+void
+fm_panic(const char *fmt, ...)
+{
+        va_list adx;
 
         va_start(adx, fmt);
         vpanic(fmt, adx);
         va_end(adx);
 }