Print this page
3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero

@@ -1956,11 +1956,11 @@
                 if (!zc->zc_objset_stats.dds_inconsistent &&
                     dmu_objset_type(os) == DMU_OST_ZVOL) {
                         error = zvol_get_stats(os, nv);
                         if (error == EIO)
                                 return (error);
-                        VERIFY3S(error, ==, 0);
+                        VERIFY0(error);
                 }
                 error = put_nvlist(zc, nv);
                 nvlist_free(nv);
         }