aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/sam/cmd.c')
-rw-r--r--src/cmd/sam/cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/sam/cmd.c b/src/cmd/sam/cmd.c
index cdf00b9b..12510689 100644
--- a/src/cmd/sam/cmd.c
+++ b/src/cmd/sam/cmd.c
@@ -71,7 +71,7 @@ int
inputc(void)
{
int n, nbuf;
- char buf[3];
+ char buf[UTFmax];
Rune r;
Again: