summaryrefslogtreecommitdiffstats
path: root/disk-utils
diff options
context:
space:
mode:
authorKarel Zak2018-07-23 12:21:33 +0200
committerKarel Zak2018-07-23 12:21:33 +0200
commit088d487612091c121bf0d4c3981186993517f95c (patch)
tree0db02c415e1cd029a2868df3fa51b2e280ade94e /disk-utils
parentlibmount: (utils) fix compiler warnings [-Wcast-qual] (diff)
downloadkernel-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