Index: bin/pwait/pwait.c =================================================================== --- bin/pwait/pwait.c (revision 304289) +++ bin/pwait/pwait.c (working copy) @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include @@ -70,6 +71,8 @@ long pid; char *s, *end; + setlocale(LC_ALL, ""); + while ((opt = getopt(argc, argv, "v")) != -1) { switch (opt) { case 'v':