diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-23 23:36:55 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-23 23:36:55 +0000 |
| commit | 8dcf55a40e13e7288fb3484416592d9cebc4a35f (patch) | |
| tree | 336b08b1a08f5422f402b610e1a0d277e1a14d60 /sbin/dmesg | |
| parent | fb241711f7ba9338b4f6b8d63346e98055fe9e35 (diff) | |
Notes
Diffstat (limited to 'sbin/dmesg')
| -rw-r--r-- | sbin/dmesg/dmesg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/dmesg/dmesg.c b/sbin/dmesg/dmesg.c index d789f5dcaa37..4b6bdb61fc9a 100644 --- a/sbin/dmesg/dmesg.c +++ b/sbin/dmesg/dmesg.c @@ -53,6 +53,7 @@ static char sccsid[] = "@(#)dmesg.c 8.1 (Berkeley) 6/5/93"; #include <time.h> #include <unistd.h> #include <vis.h> +#include <locale.h> struct nlist nl[] = { #define X_MSGBUF 0 @@ -77,6 +78,7 @@ main(argc, argv) kvm_t *kd; char buf[5]; + (void) setlocale(LC_CTYPE, ""); memf = nlistf = NULL; while ((ch = getopt(argc, argv, "M:N:")) != EOF) switch(ch) { |
