diff options
Diffstat (limited to 'src/cmd/devdraw/x11-srv.c')
-rw-r--r-- | src/cmd/devdraw/x11-srv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/devdraw/x11-srv.c b/src/cmd/devdraw/x11-srv.c index 4d72415b..cfede6f5 100644 --- a/src/cmd/devdraw/x11-srv.c +++ b/src/cmd/devdraw/x11-srv.c @@ -365,7 +365,7 @@ runmsg(Wsysmsg *m) n = m->count; if(n > sizeof buf) n = sizeof buf; - n = _drawmsgread(buf, n); + n = draw_dataread(buf, n); if(n < 0) replyerror(m); else{ @@ -376,7 +376,7 @@ runmsg(Wsysmsg *m) break; case Twrdraw: - if(_drawmsgwrite(m->data, m->count) < 0) + if(draw_datawrite(m->data, m->count) < 0) replyerror(m); else replymsg(m); |