]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
setpriv: use LC_ALL
authorKarel Zak <kzak@redhat.com>
Fri, 18 Oct 2013 08:56:56 +0000 (10:56 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 18 Oct 2013 09:38:02 +0000 (11:38 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/setpriv.c

index c3f2a8b82d09231608ca20657009c4666a8e5eed..fe8fbf8e2231a2b9892970d7d758ec8bc00843c5 100644 (file)
@@ -630,7 +630,7 @@ int main(int argc, char **argv)
        int total_opts = 0;
        int list_caps = 0;
 
-       setlocale(LC_MESSAGES, "");
+       setlocale(LC_ALL, "");
        bindtextdomain(PACKAGE, LOCALEDIR);
        textdomain(PACKAGE);
        atexit(close_stdout);