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