diff options
| author | Ryan Libby <rlibby@FreeBSD.org> | 2025-10-17 22:43:06 +0000 |
|---|---|---|
| committer | Ryan Libby <rlibby@FreeBSD.org> | 2025-10-17 22:43:06 +0000 |
| commit | bf427a09b617b60068af65a4c14632fea4ef7dda (patch) | |
| tree | 20daebb17a05dee46c19235790e5cefc103f80e1 | |
| parent | 3c052bec12fcf09f81ba0760ebecec38e196d332 (diff) | |
libalias: quiet gcc -Wcalloc-transposed-args
Reviewed by: phk
Differential Revision: https://reviews.freebsd.org/D53151
| -rw-r--r-- | sys/netinet/libalias/alias_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/libalias/alias_db.c b/sys/netinet/libalias/alias_db.c index c143d74a2f45..41f0a328daec 100644 --- a/sys/netinet/libalias/alias_db.c +++ b/sys/netinet/libalias/alias_db.c @@ -2181,7 +2181,7 @@ LibAliasInit(struct libalias *la) #undef malloc /* XXX: ugly */ la = malloc(sizeof *la, M_ALIAS, M_WAITOK | M_ZERO); #else - la = calloc(sizeof *la, 1); + la = calloc(1, sizeof *la); if (la == NULL) return (la); #endif |
