diff options
Diffstat (limited to 'usr/src/cmd/sgs/libld/common/groups.c')
| -rw-r--r-- | usr/src/cmd/sgs/libld/common/groups.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/sgs/libld/common/groups.c b/usr/src/cmd/sgs/libld/common/groups.c index 2cca5da72d..75b5a6fb88 100644 --- a/usr/src/cmd/sgs/libld/common/groups.c +++ b/usr/src/cmd/sgs/libld/common/groups.c @@ -49,7 +49,7 @@ gpavl_loaded(Ofl_desc *ofl, Group_desc *gdp) * Create a groups avl tree if required. */ if ((avlt = ofl->ofl_groups) == NULL) { - if ((avlt = libld_calloc(sizeof (avl_tree_t), 1)) == NULL) + if ((avlt = libld_calloc(1, sizeof (avl_tree_t))) == NULL) return (S_ERROR); avl_create(avlt, isdavl_compare, sizeof (Isd_node), SGSOFFSETOF(Isd_node, isd_avl)); @@ -73,7 +73,7 @@ gpavl_loaded(Ofl_desc *ofl, Group_desc *gdp) /* * This is a new group - so keep it. */ - if ((isdp = libld_calloc(sizeof (Isd_node), 1)) == NULL) + if ((isdp = libld_calloc(1, sizeof (Isd_node))) == NULL) return (S_ERROR); isdp->isd_name = isd.isd_name; |
