diff --git a/module/ice-9/suspendable-ports.scm b/module/ice-9/suspendable-ports.scm index f5f005cca..a823f1d37 100644 --- a/module/ice-9/suspendable-ports.scm +++ b/module/ice-9/suspendable-ports.scm @@ -338,7 +338,7 @@ the-eof-object) (let ((transfer-size (min count buffered))) (bytevector-copy! (port-buffer-bytevector buf) cur - transfer-size start buffered) + bv start transfer-size) (set-port-buffer-cur! buf (+ cur transfer-size)) transfer-size))))))