From 7d896cc38a771b6362d631db19d0a414bc55ff69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20=C5=A0vagelj?= Date: Sat, 4 May 2024 04:48:23 +0200 Subject: [PATCH] Fix weird nvidia log statement to fix CI? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not sure why it started with two nullptrs. Probably a bug. Signed-off-by: Tin Å vagelj --- src/nvidia.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvidia.cc b/src/nvidia.cc index 6f680339d..286c9d7e2 100644 --- a/src/nvidia.cc +++ b/src/nvidia.cc @@ -405,7 +405,7 @@ unique_display_t nvidia_display_setting::get_nvdisplay() { if (!nvdisplay.empty()) { unique_display_t nvd(XOpenDisplay(nvdisplay.c_str()), &close_nvdisplay); if (!nvd) { - NORM_ERR(nullptr, NULL, "can't open nvidia display: %s", + SYSTEM_ERR("can't open nvidia display: %s", XDisplayName(nvdisplay.c_str())); } return nvd;