Fix tracing of a string to show the string and not the address. (dotnet/core-setup...
authorVitek Karas <vitek.karas@microsoft.com>
Tue, 15 Jan 2019 15:10:48 +0000 (07:10 -0800)
committerGitHub <noreply@github.com>
Tue, 15 Jan 2019 15:10:48 +0000 (07:10 -0800)
Commit migrated from https://github.com/dotnet/core-setup/commit/a7cadb79ad761852c48a78a0c9e3f437e7e84b12

src/installer/corehost/cli/libhost.cpp

index 3f7d1a5..81b5277 100644 (file)
@@ -60,7 +60,7 @@ host_mode_t detect_operating_mode(const host_startup_info_t& host_info)
         append_path(&deps_in_dotnet_root, deps_filename.c_str());
         bool deps_exists = pal::file_exists(deps_in_dotnet_root);
 
-        trace::info(_X("Detecting mode... CoreCLR present in dotnet root [%d] and checking if [%s] file present=[%d]"),
+        trace::info(_X("Detecting mode... CoreCLR present in dotnet root [%s] and checking if [%s] file present=[%d]"),
             host_info.dotnet_root.c_str(), deps_filename.c_str(), deps_exists);
 
         // Name of runtimeconfig file; since no path is included here the check is in the current working directory