From 366ec16a63d42356ecd5ce50b9ff93b163a3f89e Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 4 Aug 2021 05:55:34 +1000 Subject: [PATCH] [client] config: use DEBUG_WARN, not fprintf for output --- client/src/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/config.c b/client/src/config.c index 06287c69..3cad83b0 100644 --- a/client/src/config.c +++ b/client/src/config.c @@ -575,8 +575,8 @@ bool config_load(int argc, char * argv[]) if (g_params.noScreensaver && g_params.autoScreensaver) { - fprintf(stderr, "win:noScreensaver (-S) and win:autoScreensaver " - "can't be used simultaneously\n"); + DEBUG_WARN("win:noScreensaver (-S) and win:autoScreensaver " + "can't be used simultaneously"); return false; }