Fixes bug 175480: Typo in make-custom-textual-output-port error

message
This commit is contained in:
Abdulaziz Ghuloum 2007-12-11 02:32:29 -05:00
parent b3f30bebff
commit 4ef7d157df
1 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@
(unless (string? id)
(error who "id is not a string" id))
(unless (procedure? write!)
(error who "read! is not a procedure" write!))
(error who "write! is not a procedure" write!))
(unless (or (procedure? close) (not close))
(error who "close should be either a procedure or #f" close))
($make-custom-binary-port
@ -250,7 +250,7 @@
(unless (string? id)
(error who "id is not a string" id))
(unless (procedure? write!)
(error who "read! is not a procedure" write!))
(error who "write! is not a procedure" write!))
(unless (or (procedure? close) (not close))
(error who "close should be either a procedure or #f" close))
($make-custom-textual-port