diff --git a/lisp/l/stream.l b/lisp/l/stream.l index ae73f01f8..5801c82b7 100644 --- a/lisp/l/stream.l +++ b/lisp/l/stream.l @@ -608,7 +608,7 @@ (defun write-buffer (fname buf &optional (len (length buf))) (with-open-file (f fname :direction :output) - (unix:write f buf len))) + (unix:write f buf 0 len))) ;; unix:write changed to accept the third arg=offset. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;