summaryrefslogtreecommitdiff
path: root/emu
diff options
context:
space:
mode:
Diffstat (limited to 'emu')
-rw-r--r--emu/port/devcons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emu/port/devcons.c b/emu/port/devcons.c
index 3bd24a95..0964b56f 100644
--- a/emu/port/devcons.c
+++ b/emu/port/devcons.c
@@ -282,7 +282,7 @@ static long
consread(Chan *c, void *va, long n, vlong offset)
{
int send;
- char *p, buf[64], ch;
+ char buf[64], ch;
if(c->qid.type & QTDIR)
return devdirread(c, va, n, contab, nelem(contab), devgen);