diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-08 08:35:55 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-08 20:30:08 -0600 |
commit | c039c9644983bfdcee7a85ef3166a53a878721eb (patch) | |
tree | 0782914b1a04bb79cdbbcd307e9a18a60820c866 /src/factor.c | |
parent | aa092ccf6ab48f7e0c154a6c12b40c5a120500be (diff) | |
download | coreutils-c039c9644983bfdcee7a85ef3166a53a878721eb.tar.xz |
maint: use X2NREALLOC in more places
* src/chroot.c (set_additional_groups): Use X2NREALLOC rather than
x2nrealloc.
* src/factor.c (emit_factor): Likewise.
* src/setuidgid.c (main): Likewise.
Diffstat (limited to 'src/factor.c')
-rw-r--r-- | src/factor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factor.c b/src/factor.c index f48a72084..38c9a115b 100644 --- a/src/factor.c +++ b/src/factor.c @@ -67,7 +67,7 @@ static void emit_factor (mpz_t n) { if (nfactors_found == nfactors_allocated) - factor = x2nrealloc (factor, &nfactors_allocated, sizeof *factor); + factor = X2NREALLOC (factor, &nfactors_allocated); mpz_init (factor[nfactors_found]); mpz_set (factor[nfactors_found], n); ++nfactors_found; |