Blah, I cut out a tad too much in the previous commit. (thanks again, Jake!)
This commit is contained in:
parent
6a8f30e3e3
commit
8dde386a4b
@ -206,6 +206,7 @@ sbuf_bcopyin(struct sbuf *s, const void *uaddr, size_t len)
|
||||
len = s->s_size - s->s_len - 1;
|
||||
if (copyin(uaddr, s->s_buf + s->s_len, len) != 0)
|
||||
return (-1);
|
||||
s->s_len += len;
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user