From: Thomas Weißschuh Date: Tue, 27 Jun 2023 09:24:21 +0000 (+0200) Subject: enosys: enable locale handling X-Git-Tag: v2.40-rc1~349^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d191a7bef8805e074b6cd972ff1d20a9b8dbf69a;p=thirdparty%2Futil-linux.git enosys: enable locale handling Signed-off-by: Thomas Weißschuh --- diff --git a/misc-utils/enosys.c b/misc-utils/enosys.c index ec02f454f6..9ec80c685b 100644 --- a/misc-utils/enosys.c +++ b/misc-utils/enosys.c @@ -96,6 +96,10 @@ int main(int argc, char **argv) bool blocked_syscalls[ARRAY_SIZE(syscalls)] = {}; + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + while ((c = getopt_long (argc, argv, "+Vhs:l", longopts, NULL)) != -1) { switch (c) { case 's':