From 0674e04597eb2ff460137595ef2ebbc8528c4983 Mon Sep 17 00:00:00 2001 From: Yvan da Silva Date: Sat, 28 Jul 2018 22:48:00 +0200 Subject: [PATCH] Corrects an error in a debug message * This happened during the last edit. --- client/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/main.c b/client/main.c index f2649781..b8337867 100644 --- a/client/main.c +++ b/client/main.c @@ -737,7 +737,7 @@ int run() DEBUG_INFO("Wayland detected"); int err = setenv("SDL_VIDEODRIVER", "wayland", 1); if (err < 0) { - DEBUG_ERROR("Unable to set the env variable SDL_VIDEODRIVER: %d", errno); + DEBUG_ERROR("Unable to set the env variable SDL_VIDEODRIVER: %d", err); return -1; } DEBUG_INFO("SDL_VIDEODRIVER has been set to wayland"); @@ -1654,4 +1654,4 @@ int main(int argc, char * argv[]) } return ret; -} \ No newline at end of file +}