]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix version description in a startup log message
authorMichał Kępień <michal@isc.org>
Thu, 26 Jun 2025 10:05:53 +0000 (12:05 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 26 Jun 2025 10:05:53 +0000 (12:05 +0200)
Commit 5cd6c173ff74309ae7fb73b3e4c754f1589eaddc changed the contents of
the PACKAGE_DESCRIPTION preprocessor macro from " (<description>)" to
just "<description>" and missed a spot while adjusting all uses of this
macro in the code base.  Fix formatting for that malformed log message,
emitted upon named startup.

bin/named/main.c

index 903598e707a0dc22a2432de231cedfe8e8d671cb..14dee08c861365ef95d206a2e7c33cdafd9eb3b8 100644 (file)
@@ -1039,8 +1039,8 @@ setup(void) {
        }
 
        isc_log_write(NAMED_LOGCATEGORY_GENERAL, NAMED_LOGMODULE_MAIN,
-                     ISC_LOG_NOTICE, "starting %s%s <id:%s>", PACKAGE_STRING,
-                     PACKAGE_DESCRIPTION, PACKAGE_SRCID);
+                     ISC_LOG_NOTICE, "starting %s (%s) <id:%s>",
+                     PACKAGE_STRING, PACKAGE_DESCRIPTION, PACKAGE_SRCID);
 
        isc_log_write(NAMED_LOGCATEGORY_GENERAL, NAMED_LOGMODULE_MAIN,
                      ISC_LOG_NOTICE, "running on %s", named_os_uname());