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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user