From: Karel Zak Date: Wed, 24 Apr 2019 10:45:20 +0000 (+0200) Subject: su: make comment more friedly to 'make checkxalloc' X-Git-Tag: v2.34-rc1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00749b05b93978e93768fba73334edb2cc81ace1;p=thirdparty%2Futil-linux.git su: make comment more friedly to 'make checkxalloc' Signed-off-by: Karel Zak --- diff --git a/login-utils/su-common.c b/login-utils/su-common.c index 86beab99ca..caabe23a62 100644 --- a/login-utils/su-common.c +++ b/login-utils/su-common.c @@ -1016,7 +1016,7 @@ static void modify_environment(struct su_context *su, const char *shell) /* Note that original su(1) has allocated environ[] by malloc * to the number of expected variables. This seems unnecessary - * optimization as libc later realloc(current_size+2) and for + * optimization as libc later re-alloc(current_size+2) and for * empty environ[] the curren_size is zero. It seems better to * keep all logic around environment in glibc's hands. * --kzak [Aug 2018]