aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-10-24 16:44:22 +0200
committerDaniel Eklöf <daniel@ekloef.se>2022-10-24 16:44:22 +0200
commit87d6870f518498a43b0c51e93e95e2c63193f0db (patch)
treee81af6f160285df005cb13bb8255b89e5faffda9 /main.c
parentec7b8573d075da85a25b14599ef41c57c3ebe3e7 (diff)
downloadwbg-87d6870f518498a43b0c51e93e95e2c63193f0db.tar.gz
main: log version at startup
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
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;