Skip to content

Commit

Permalink
Fix Lwt_fmt.stderr to actually point to stderr instead of stdout (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
vog committed Apr 26, 2021
1 parent 9943ba7 commit e9a66e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

* Lwt_seq: a Seq-like data-structure with Lwt delayed nodes (#836, Zach Shipko).

====== Bugfixes ======

* Fix Lwt_fmt.stderr to actually point to stderr (#852, #850, Volker Diels-Grabsch).

===== 5.4.0 (2020-12-16) =====

====== Installability ======
Expand Down
2 changes: 1 addition & 1 deletion src/unix/lwt_fmt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ let ifprintf ppft fmt =
ikfprintf (fun _ t -> t) ppft fmt

let stdout = of_channel Lwt_io.stdout
let stderr = of_channel Lwt_io.stdout
let stderr = of_channel Lwt_io.stderr

let printf fmt = fprintf stdout fmt
let eprintf fmt = fprintf stderr fmt

0 comments on commit e9a66e9

Please sign in to comment.