From b489d476e4aa41964680332b8f09df0b26a49278 Mon Sep 17 00:00:00 2001
From: dd
Date: Wed, 10 Apr 2002 03:51:49 +0000
Subject: Treat input on the snp device as an `unsigned char'. According to
the submitter, this permits Russian (and probably other locales') characters
to be entered via watch(8).
PR: 35636
Submitted by: Gleb Smirnoff
---
sys/dev/snp/snp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'sys/dev/snp/snp.c')
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index f0dcc2c..4891666 100644
--- a/sys/dev/snp/snp.c
+++ b/sys/dev/snp/snp.c
@@ -202,7 +202,7 @@ snpwrite(dev, uio, flag)
struct snoop *snp;
struct tty *tp;
int error, i, len;
- char c[SNP_INPUT_BUF];
+ unsigned char c[SNP_INPUT_BUF];
snp = dev->si_drv1;
tp = snp->snp_tty;
--
cgit v1.1