]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: move getlogindefs_num() after localization init
authorSami Kerola <kerolasa@iki.fi>
Thu, 12 Nov 2020 23:44:55 +0000 (23:44 +0000)
committerSami Kerola <kerolasa@iki.fi>
Thu, 3 Dec 2020 20:06:51 +0000 (20:06 +0000)
commitfb038d27a1a0e2faf7fc9c5bbf62ec6379c93f10
tree7bbce8b0cc0e5c1a22fdd764453989948f8d0289
parent0b4d75fae55b4a5ff8f65df8551c56cf1eeb9b08
login: move getlogindefs_num() after localization init

There are translations in getlogindefs_num() and they will not take effect
unless the function call is after the setlocale(), bindtextdomain(), and
textdomain().

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/login.c