crond: do not log info messages at LOG_ERR. Closes bug 681. +62 bytes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -38,6 +38,7 @@ void FAST_FUNC bb_info_msg(const char *s, ...)
|
||||
|
||||
va_start(p, s);
|
||||
used = vasprintf(&msg, s, p);
|
||||
va_end(p);
|
||||
if (used < 0)
|
||||
return;
|
||||
|
||||
@@ -51,6 +52,5 @@ void FAST_FUNC bb_info_msg(const char *s, ...)
|
||||
}
|
||||
|
||||
free(msg);
|
||||
va_end(p);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user