diff options
Diffstat (limited to 'sys/src/9/pc/uartaxp.c')
| -rw-r--r-- | sys/src/9/pc/uartaxp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/uartaxp.c b/sys/src/9/pc/uartaxp.c index af928a1e2..53551502d 100644 --- a/sys/src/9/pc/uartaxp.c +++ b/sys/src/9/pc/uartaxp.c @@ -262,7 +262,7 @@ axpstatus(Uart* uart, void* buf, long n, long offset) ccb = ((Cc*)(uart->regs))->ccb; - p = malloc(READSTR); + p = smalloc(READSTR); bs = ccb->bs; fstat = ccb->df; ms = ccb->ms; |
