mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
Add setlocale LC_CTYPE
This commit is contained in:
parent
0e8bf24b08
commit
5ccbfb26fb
1 changed files with 3 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ extern int errno;
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
#include "ktrace.h"
|
||||
|
||||
int timestamp, decimal, fancy = 1, tail, maxdata;
|
||||
|
|
@ -74,6 +75,8 @@ main(argc, argv)
|
|||
register void *m;
|
||||
int trpoints = ALL_POINTS;
|
||||
|
||||
(void) setlocale(LC_CTYPE, "");
|
||||
|
||||
while ((ch = getopt(argc,argv,"f:dlm:nRTt:")) != EOF)
|
||||
switch((char)ch) {
|
||||
case 'f':
|
||||
|
|
|
|||
Loading…
Reference in a new issue