Print this page
smatch clean rtld

@@ -1007,11 +1007,11 @@
                  * Determine whether this pathname has already been recorded.
                  */
                 if (pnavl_recorded(&capavl, name, hash, &where))
                         continue;
 
-                if ((pnp = calloc(sizeof (PathNode), 1)) != NULL) {
+                if ((pnp = calloc(1, sizeof (PathNode))) != NULL) {
                         pnp->pn_name = name;
                         pnp->pn_hash = hash;
                         avl_insert(capavl, pnp, where);
                 }
         }