blob: 75c7a5d9bfda2b8bae76b0e8d51da63ec88f4f3e [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/quota.c
2+++ b/quota.c
3@@ -385,7 +385,7 @@ int main(int argc, char **argv)
4 break;
5 case 259:
6 fscount++;
7- fsnames = reallocarray(fsnames, fscount, sizeof(char *));
8+ fsnames = realloc(fsnames, fscount * sizeof(char *));
9 if (!fsnames)
10 die(1, _("Not enough memory for filesystem names"));
11 fsnames[fscount - 1] = optarg;