Print this page
OS-1571 Placate gcc -Wparentheses
Reviewed by: Robert Mustacchi <rm@joyent.com>

@@ -305,11 +305,11 @@
                         return (EINVAL);
                 if (nm[1] == '.' && nm[2] == '\0')
                         return (EEXIST); /* thus in ufs */
         }
 
-        if (error = hyprlofs_taccess(dir, VEXEC|VWRITE, cr))
+        if ((error = hyprlofs_taccess(dir, VEXEC|VWRITE, cr)) != 0)
                 return (error);
 
         if (dir->hln_dir == NULL)
                 return (ENOENT);