summaryrefslogtreecommitdiff
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-10-26 22:16:45 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-10-26 22:16:45 +0000
commit5ccbfb26fb95c4e0584cab6a13677d062cf9beaf (patch)
tree248deb634fc498f61471f4e7b5211d5e662c1448 /usr.bin/kdump
parent0e8bf24b083b4c396660abe6f7d073a08a0d70fb (diff)
Notes
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index d5b1654d3d75..b290d4db4091 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -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':