From ea1100b8578c9adcce35a5dd41e255ada5d2c26b Mon Sep 17 00:00:00 2001 From: Al- Date: Thu, 29 May 2025 20:35:19 +0200 Subject: [PATCH] Corrected log priority in logIT call The first parameter of the function logIT is the level (e.g., LOG_INFO), not the facility (e.g., LOG_LOCAL0) --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.c b/src/io.c index 29e698bb..9b9d0b1f 100644 --- a/src/io.c +++ b/src/io.c @@ -70,7 +70,7 @@ int opentty(char *device) { int fd; - logIT(LOG_LOCAL0, "Configuring serial interface %s", device); + logIT(LOG_INFO, "Configuring serial interface %s", device); if ((fd = open(device, O_RDWR)) < 0) { logIT(LOG_ERR, "cannot open %s:%m", device); exit(1);