diff options
author | Karel Zak | 2018-07-23 12:21:33 +0200 |
---|---|---|
committer | Karel Zak | 2018-07-23 12:21:33 +0200 |
commit | 088d487612091c121bf0d4c3981186993517f95c (patch) | |
tree | 0db02c415e1cd029a2868df3fa51b2e280ade94e /disk-utils | |
parent | libmount: (utils) fix compiler warnings [-Wcast-qual] (diff) | |
download | kernel-qcow2-util-linux-088d487612091c121bf0d4c3981186993517f95c.tar.gz kernel-qcow2-util-linux-088d487612091c121bf0d4c3981186993517f95c.tar.xz kernel-qcow2-util-linux-088d487612091c121bf0d4c3981186993517f95c.zip |
login: use const qualifier for username from PAM or struct passwd [-Wcast-qual]
It seems more robust to use 'const' qualifier for username if this
variable points to external resources like PAM or struct passwd. The
patch introduces new variable cmd_username for username specified on
login(1) command line.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
0 files changed, 0 insertions, 0 deletions