diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2021-08-30 20:01:13 -0700 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2021-08-30 20:02:22 -0700 |
commit | f5ae31ebd3d49a064cb85ccd62a75198883cec3b (patch) | |
tree | 037c0884e7be60392381a6b6e60baf587a84b989 /libcap/_makenames.c | |
parent | 2bfe36c9999c852c79c0bba1c31b25285326b91d (diff) | |
download | libcap2-f5ae31ebd3d49a064cb85ccd62a75198883cec3b.tar.gz |
Be more consistent with make variables.
Noticed that we weren't applying the same amount of flag discipline
to local BUILD_* tool rules. Fixing that, I see we've been carrying
a source code issue in libcap/_makenames.c for a while. (FIXED).
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'libcap/_makenames.c')
-rw-r--r-- | libcap/_makenames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcap/_makenames.c b/libcap/_makenames.c index c0d6db4..30eb080 100644 --- a/libcap/_makenames.c +++ b/libcap/_makenames.c @@ -26,7 +26,7 @@ struct { * indicated extended empty space. */ static void *recalloc(void *p, int was, int is) { - void *n = realloc(p, is); + char *n = realloc(p, is); if (!n) { fputs("out of memory", stderr); exit(1); |