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
… (#852)
  • Loading branch information
vog authored and raphael-proust committed May 25, 2021
1 parent 2c7418f commit db01ad0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
===== dev =====
===== 5.4.1 =====

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

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



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

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 db01ad0

Please sign in to comment.