libalias: quiet gcc -Wcalloc-transposed-args

Reviewed by:	phk
Differential Revision:	https://reviews.freebsd.org/D53151
This commit is contained in:
Ryan Libby
2025-10-17 15:43:06 -07:00
parent 3c052bec12
commit bf427a09b6
+1 -1
View File
@@ -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