From 6b4b228fddfe53460a05a1206c88b60857c94a02 Mon Sep 17 00:00:00 2001 From: Wellington Dias Date: Fri, 30 Oct 2026 16:32:49 -0300 Subject: [PATCH] Name no operating system in the oe log lines, so Linux logs stop saying Windows. The application environment and performance request lines and the services probe's locale line said Windows on every host; a Steam Deck tester's log printed them on SteamOS. --- runtime/ov_probe.c | 2 +- runtime/ov_system.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/ov_probe.c b/runtime/ov_probe.c index 507a7ed2..ac7e32f8 100644 --- a/runtime/ov_probe.c +++ b/runtime/ov_probe.c @@ -275,7 +275,7 @@ static void probe_oe(void) { free(keep_locale); checks++; failures += bad > 0; - printf("oe: language %s by default (en-US locale), %s for this Windows user locale; %d locale/TOTK_LANG cases %s\n", + printf("oe: language %s by default (en-US locale), %s for this user's locale; %d locale/TOTK_LANG cases %s\n", def, sys, (int)(sizeof cases / sizeof *cases), bad ? "FAILED" : "ok"); CALL("oe.Initialize", 0); diff --git a/runtime/ov_system.c b/runtime/ov_system.c index 7283680c..ca3787f8 100644 --- a/runtime/ov_system.c +++ b/runtime/ov_system.c @@ -114,13 +114,13 @@ static void ov_desired_language(Cpu *c) { ret_x(c, v); } -static void ov_oe_initialize(Cpu *c) { (void)c; rt_log("oe: application environment: local Windows process"); } +static void ov_oe_initialize(Cpu *c) { (void)c; rt_log("oe: application environment: a local host process"); } // void SetPerformanceConfiguration(PerformanceMode mode, int config) static void ov_performance_config(Cpu *c) { int64_t mode = (int32_t)arg_x(c, 0); if (mode < 0 || mode > 1) rt_fatal("nn::oe::SetPerformanceConfiguration: invalid mode %lld", (long long)mode); - rt_log("oe: performance request mode %lld configuration %#x: Windows schedules the CPU", (long long)mode, + rt_log("oe: performance request mode %lld configuration %#x: the host OS schedules the CPU", (long long)mode, (uint32_t)arg_x(c, 1)); }