diff options
author | tjr <tjr@FreeBSD.org> | 2004-07-15 07:26:20 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-07-15 07:26:20 +0000 |
commit | cc381691c454326915081d878b092c13743b3523 (patch) | |
tree | 64a56e1beb9ae3a602458554cdb64ed619604dce /usr.bin | |
parent | 8529e351cd9ac2c75e2efd986cbd5ca684a38001 (diff) | |
download | FreeBSD-src-cc381691c454326915081d878b092c13743b3523.zip FreeBSD-src-cc381691c454326915081d878b092c13743b3523.tar.gz |
Respect locale settings from the environment.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/killall/killall.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/killall/killall.c b/usr.bin/killall/killall.c index be3b969..24e3f31 100644 --- a/usr.bin/killall/killall.c +++ b/usr.bin/killall/killall.c @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include <err.h> #include <errno.h> #include <unistd.h> +#include <locale.h> static void __dead2 usage(void) @@ -136,6 +137,8 @@ main(int ac, char **av) int matched; int killed = 0; + setlocale(LC_ALL, ""); + av++; ac--; |