]> granicus.if.org Git - zfs/commitdiff
Add missing () to quiet warnings in NDEBUG case
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Wed, 4 Jun 2008 22:52:13 +0000 (22:52 +0000)
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Wed, 4 Jun 2008 22:52:13 +0000 (22:52 +0000)
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@128 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c

include/sys/debug.h

index 53050fc6113759259c87a9486d70358441be6789..41ce043fe2bfba6e54647a9aabde4738a36d0cdd 100644 (file)
@@ -210,7 +210,7 @@ struct page_collection {
 #define ASSERTF(x, y, z...)            ((void)0)
 #define VERIFY(x)                       ((void)(x))
 
-#define VERIFY3_IMPL(x, y, z, t, f, c)  if (x == z) ((void)0)
+#define VERIFY3_IMPL(x, y, z, t, f, c)  if ((x) == (z)) ((void)0)
 
 #define VERIFY3S(x,y,z)        VERIFY3_IMPL(x, y, z, int64_t, "%ld", (long))
 #define VERIFY3U(x,y,z) VERIFY3_IMPL(x, y, z, uint64_t, "%lu", (unsigned long))