9os

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 144008d9f9946b5d9ed5e2bf439b416822e78d05
parent 403bea0766b1cddc12c698f95a81475f72b56f65
Author: Dimitris Papastamos <dimitris.papastamos@arm.com>
Date:   Tue, 16 Apr 2019 10:52:08 +0100

Merge "[dev] Add errno value in uartwrite"
Diffstat:
Mdrivers/devuart.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/drivers/devuart.c b/drivers/devuart.c @@ -195,6 +195,7 @@ uartwrite(Chan *c, void *buf, int n) switch (c->qid & ~CHDIR) { case Quartfs: + errno = EISDIR; return -1; case Qraw: up = getuart(c);