summaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2023-04-25 16:48:49 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2023-04-25 16:48:49 +0100
commit15c70e562c4967a6085ac2296e9f649e1c277fb9 (patch)
tree2d2e5348dc5b0ade163902b6992424126adc0dfb /proc.c
parentb9524f5b72d16bd634fc47ad1a4a9d3240bd4370 (diff)
Include NCURSES_VERSION_PATCH in the log.
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/proc.c b/proc.c
index 67ec214a..30eedadb 100644
--- a/proc.c
+++ b/proc.c
@@ -193,18 +193,13 @@ proc_start(const char *name)
log_debug("%s started (%ld): version %s, socket %s, protocol %d", name,
(long)getpid(), getversion(), socket_path, PROTOCOL_VERSION);
log_debug("on %s %s %s", u.sysname, u.release, u.version);
- log_debug("using libevent %s (%s)"
+ log_debug("using libevent %s %s", event_get_version(), event_get_method());
#ifdef HAVE_UTF8PROC
- "; utf8proc %s"
+ log_debug("using utf8proc %s", utf8proc_version());
#endif
#ifdef NCURSES_VERSION
- "; ncurses " NCURSES_VERSION
+ log_debug("using ncurses %s %06u", NCURSES_VERSION, NCURSES_VERSION_PATCH);
#endif
- , event_get_version(), event_get_method()
-#ifdef HAVE_UTF8PROC
- , utf8proc_version()
-#endif
- );
tp = xcalloc(1, sizeof *tp);
tp->name = xstrdup(name);