Blah, I cut out a tad too much in the previous commit. (thanks again, Jake!)
This commit is contained in:
parent
8b74f81bf5
commit
7da6da146f
@ -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