[git commit] crond: log5 fix typo, replace log level '4' with '5'

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sat Mar 2 16:03:37 UTC 2024


commit: https://git.busybox.net/busybox/commit/?id=01f2b5976d03fb50229d28297cf5ebd8be533203
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

log5() with crondlog(5, msg, va) seems making logging more consistent.

function                                             old     new   delta
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/0 up/down: 0/0)                 Total: 0 bytes

Signed-off-by: Jones Syue <jonessyue at qnap.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 miscutils/crond.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/miscutils/crond.c b/miscutils/crond.c
index 3bbb5ac83..b3762d327 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -190,7 +190,7 @@ static void log5(const char *msg, ...)
 {
 	va_list va;
 	va_start(va, msg);
-	crondlog(4, msg, va);
+	crondlog(5, msg, va);
 	va_end(va);
 }
 


More information about the busybox-cvs mailing list