Skip to content

Commit

Permalink
Fix weird nvidia log statement to fix CI?
Browse files Browse the repository at this point in the history
Not sure why it started with two nullptrs. Probably a bug.

Signed-off-by: Tin Švagelj <[email protected]>
  • Loading branch information
Caellian committed May 4, 2024
1 parent 90f794c commit 7d896cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvidia.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7d896cc

Please sign in to comment.