summaryrefslogtreecommitdiffstats
path: root/login-utils
diff options
context:
space:
mode:
authorKarel Zak2019-04-24 12:45:20 +0200
committerKarel Zak2019-04-24 12:45:20 +0200
commit00749b05b93978e93768fba73334edb2cc81ace1 (patch)
tree0ecb243a0d9421dd30f3d93ac499dc714527b4cf /login-utils
parentlosetup: man page has repeating words [make checkmans] (diff)
downloadkernel-qcow2-util-linux-00749b05b93978e93768fba73334edb2cc81ace1.tar.gz
kernel-qcow2-util-linux-00749b05b93978e93768fba73334edb2cc81ace1.tar.xz
kernel-qcow2-util-linux-00749b05b93978e93768fba73334edb2cc81ace1.zip
su: make comment more friedly to 'make checkxalloc'
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils')
-rw-r--r--login-utils/su-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/su-common.c b/login-utils/su-common.c
index 86beab99c..caabe23a6 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]