mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Localize it
This commit is contained in:
parent
cd641c8853
commit
9566348d5c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25777
@ -51,6 +51,7 @@ static char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93";
|
||||
#include <sys/time.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include <locale.h>
|
||||
#include <paths.h>
|
||||
#include <pwd.h>
|
||||
#include <stdio.h>
|
||||
@ -81,6 +82,8 @@ main(argc, argv)
|
||||
char *p, *ttymsg();
|
||||
char line[sizeof(utmp.ut_line) + 1];
|
||||
|
||||
(void)setlocale(LC_CTYPE, "");
|
||||
|
||||
while ((ch = getopt(argc, argv, "n")) != -1)
|
||||
switch (ch) {
|
||||
case 'n':
|
||||
|
Loading…
Reference in New Issue
Block a user