From 663d6c315477da5e8d6656113dfe1226035cc545 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 20 Feb 2017 22:26:51 -0800 Subject: [PATCH] Convert a string-allocate reference to make-bytevector. --- src/runtime/socket.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/socket.scm b/src/runtime/socket.scm index 1ed0f5a07..afffca8e2 100644 --- a/src/runtime/socket.scm +++ b/src/runtime/socket.scm @@ -201,7 +201,7 @@ USA. (canonical-host-name (get-host-name))) (define (allocate-host-address) - (string-allocate ((ucode-primitive host-address-length 0)))) + (make-bytevector ((ucode-primitive host-address-length 0)))) (define host-address-any (ucode-primitive host-address-any 0)) -- 2.25.1