mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(main): Use xnmalloc, rather than xmalloc.
This commit is contained in:
1 parent
4d9d9f4d02
commit
e93ae52456
1 file changed
+1
-1
+1
-1
@@ -1730,7 +1730,7 @@ main (int argc, char **argv)
|
||||
" indefinitely is ineffective"));
|
||||
}
|
||||
|
||||
F = xmalloc (n_files * sizeof (F[0]));
|
||||
F = xnmalloc (n_files, sizeof *F);
|
||||
for (i = 0; i < n_files; i++)
|
||||
F[i].name = file[i];
|
||||
|
||||
|
||||
Reference in new issue
Block a user