Merge pull request #30973 from mrc0mmand/gcc14

Reorder arguments for calloc()-like functions, part #2
This commit is contained in:
Lennart Poettering
2024-01-18 09:16:40 +01:00
committed by GitHub
6 changed files with 12 additions and 11 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();