diff options
author | Daniel Eklöf <daniel@ekloef.se> | 2022-10-24 16:44:22 +0200 |
---|---|---|
committer | Daniel Eklöf <daniel@ekloef.se> | 2022-10-24 16:44:22 +0200 |
commit | 87d6870f518498a43b0c51e93e95e2c63193f0db (patch) | |
tree | e81af6f160285df005cb13bb8255b89e5faffda9 | |
parent | ec7b8573d075da85a25b14599ef41c57c3ebe3e7 (diff) | |
download | wbg-87d6870f518498a43b0c51e93e95e2c63193f0db.tar.gz |
main: log version at startup
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |