src/hotspot/share/memory/filemap.cpp
changeset 58110 85e1de070bef
parent 58096 0d97bf7cf8a4
child 58199 595fcbebaa77
child 58277 00a98f0aa1b3
--- a/src/hotspot/share/memory/filemap.cpp	Thu Sep 12 15:46:11 2019 +0100
+++ b/src/hotspot/share/memory/filemap.cpp	Thu Sep 12 09:59:19 2019 -0700
@@ -459,7 +459,7 @@
     if (e->is_dir()) {
       const char* path = e->name();
       if (!os::dir_is_empty(path)) {
-        tty->print_cr("Error: non-empty directory '%s'", path);
+        log_error(cds)("Error: non-empty directory '%s'", path);
         has_nonempty_dir = true;
       }
     }