View | Details | Raw Unified | Return to bug 126590
Collapse All | Expand All

(-)driverbasics-char_fix.html 2008-08-17 15:10:37.531250000 +0200 (+2 lines)
Lines 200-205 Link Here
200
    *(echomsg->msg + MIN(uio->uio_iov->iov_len, BUFFERSIZE - 1)) = 0;
200
    *(echomsg->msg + MIN(uio->uio_iov->iov_len, BUFFERSIZE - 1)) = 0;
201
    echomsg->len = MIN(uio->uio_iov->iov_len, BUFFERSIZE);
201
    echomsg->len = MIN(uio->uio_iov->iov_len, BUFFERSIZE);
202
202
203
    uio->uio_resid = 0; /* signall that all data is consumed */
204
203
    if (err != 0) {
205
    if (err != 0) {
204
        uprintf("Write failed: bad address!\n");
206
        uprintf("Write failed: bad address!\n");
205
    }
207
    }

Return to bug 126590