diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-12-25 18:30:33 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-12-25 18:30:33 +0100 |
commit | 7f4b6766553610eb1e25e02d5e86fe9a96a5e296 (patch) | |
tree | c62f7f35450ffe9684bf7858f65e676d5350da5a /src/usr.bin/rs/rs.c | |
parent | c4dac241febbb15cb3278867f6893fcd46f1e3f2 (diff) | |
download | outils-7f4b6766553610eb1e25e02d5e86fe9a96a5e296.tar.gz outils-7f4b6766553610eb1e25e02d5e86fe9a96a5e296.tar.xz outils-7f4b6766553610eb1e25e02d5e86fe9a96a5e296.zip |
update, keep gzsig inspite of being removed upstream.
Diffstat (limited to 'src/usr.bin/rs/rs.c')
-rw-r--r-- | src/usr.bin/rs/rs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/rs/rs.c b/src/usr.bin/rs/rs.c index 3c6ed1a..f29f580 100644 --- a/src/usr.bin/rs/rs.c +++ b/src/usr.bin/rs/rs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rs.c,v 1.23 2013/11/15 15:47:53 millert Exp $ */ +/* $OpenBSD: rs.c,v 1.24 2014/10/08 04:07:24 doug Exp $ */ /*- * Copyright (c) 1993 @@ -340,7 +340,7 @@ getptrs(char **sp) int newsize; newsize = allocsize * 2; - p = realloc(elem, newsize * sizeof(char *)); + p = reallocarray(elem, newsize, sizeof(char *)); if (p == NULL) err(1, "no memory"); |