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:
Denys Vlasenko
2009-12-13 17:42:49 +01:00
parent aa42d13e32
commit 78fcec4dc7
2 changed files with 27 additions and 16 deletions

View File

@@ -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
}