Skip to content

Commit a4d3ac0

Browse files
committed
dmodule.d: replace stderr with eSink
1 parent 579fe56 commit a4d3ac0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compiler/src/dmd/dmodule.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,11 +626,11 @@ extern (C++) final class Module : Package
626626
if (global.path.length)
627627
{
628628
foreach (i, p; global.path[])
629-
fprintf(stderr, "import path[%llu] = %s\n", cast(ulong)i, p.path);
629+
eSink.message(Loc.init, "import path[%llu] = %s", cast(ulong)i, p.path);
630630
}
631631
else
632632
{
633-
fprintf(stderr, "Specify path to file '%.*s' with -I switch\n", cast(int)name.length, name.ptr);
633+
eSink.message(Loc.init, "Specify path to file '%.*s' with -I switch", cast(int)name.length, name.ptr);
634634
}
635635

636636
removeHdrFilesAndFail(removeHeaders, Module.amodules);

0 commit comments

Comments
 (0)