From 87d6870f518498a43b0c51e93e95e2c63193f0db Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 24 Oct 2022 16:44:22 +0200 Subject: main: log version at startup --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index 1e3c237..7831455 100644 --- a/main.c +++ b/main.c @@ -22,6 +22,7 @@ #define LOG_ENABLE_DBG 0 #include "log.h" #include "shm.h" +#include "version.h" #if defined(WBG_HAVE_PNG) #include "png-wbg.h" @@ -352,6 +353,8 @@ main(int argc, const char *const *argv) setlocale(LC_CTYPE, ""); log_init(LOG_COLORIZE_AUTO, false, LOG_FACILITY_DAEMON, LOG_CLASS_WARNING); + LOG_INFO("%s", WBG_VERSION); + const char *image_path = argv[1]; image = NULL; -- cgit v1.2.3