summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os/pxa/devuart.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/pxa/devuart.c b/os/pxa/devuart.c
index 4b8cc140..13b2107a 100644
--- a/os/pxa/devuart.c
+++ b/os/pxa/devuart.c
@@ -1021,6 +1021,9 @@ uartwrite(Chan *c, void *buf, long n, vlong)
cmd[n] = 0;
uartctl(p, cmd);
return n;
+ default:
+ error(Egreg);
+ return n;
}
}