summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/scheme/base.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/scheme/base.scm b/module/scheme/base.scm
index c6a73c092..b3d37a6ef 100644
--- a/module/scheme/base.scm
+++ b/module/scheme/base.scm
@@ -1,5 +1,5 @@
;;; R7RS compatibility libraries
-;;; Copyright (C) 2019-2021 Free Software Foundation, Inc.
+;;; Copyright (C) 2019-2021, 2023 Free Software Foundation, Inc.
;;;
;;; This library is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU Lesser General Public License as
@@ -368,7 +368,7 @@
(define* (peek-u8 #:optional (port (current-input-port)))
(lookahead-u8 port))
-(define* (read-u8 #:optional (port (current-output-port)))
+(define* (read-u8 #:optional (port (current-input-port)))
(get-u8 port))
(define* (read-bytevector len #:optional (port (current-input-port)))