Reorder arguments for calloc()-like functions, part #2

To appease gcc-14's -Wcalloc-transposed-args check.

Follow-up for 2a9ab0974b.
This commit is contained in:
Frantisek Sumsal
2024-01-17 11:09:09 +01:00
parent b551a687a4
commit fdd84270df
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ int bind_user_prepare(
if (!sd)
return log_oom();
cm = reallocarray(*custom_mounts, sizeof(CustomMount), *n_custom_mounts + 1);
cm = reallocarray(*custom_mounts, *n_custom_mounts + 1, sizeof(CustomMount));
if (!cm)
return log_oom();