diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-13 17:42:49 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-13 17:42:49 +0100 |
| commit | 78fcec4dc700dde189b0149ddfb53d321c4c75be (patch) | |
| tree | 58a7f2d86e609da04a0d0af0940853a18591277e /libbb | |
| parent | aa42d13e320250d3573c6be975876a612c00e91f (diff) | |
| download | busybox-w32-78fcec4dc700dde189b0149ddfb53d321c4c75be.tar.gz busybox-w32-78fcec4dc700dde189b0149ddfb53d321c4c75be.tar.bz2 busybox-w32-78fcec4dc700dde189b0149ddfb53d321c4c75be.zip | |
crond: do not log info messages at LOG_ERR. Closes bug 681. +62 bytes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/info_msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/info_msg.c b/libbb/info_msg.c index 5f375d43b..bc9d23b95 100644 --- a/libbb/info_msg.c +++ b/libbb/info_msg.c | |||
| @@ -38,6 +38,7 @@ void FAST_FUNC bb_info_msg(const char *s, ...) | |||
| 38 | 38 | ||
| 39 | va_start(p, s); | 39 | va_start(p, s); |
| 40 | used = vasprintf(&msg, s, p); | 40 | used = vasprintf(&msg, s, p); |
| 41 | va_end(p); | ||
| 41 | if (used < 0) | 42 | if (used < 0) |
| 42 | return; | 43 | return; |
| 43 | 44 | ||
| @@ -51,6 +52,5 @@ void FAST_FUNC bb_info_msg(const char *s, ...) | |||
| 51 | } | 52 | } |
| 52 | 53 | ||
| 53 | free(msg); | 54 | free(msg); |
| 54 | va_end(p); | ||
| 55 | #endif | 55 | #endif |
| 56 | } | 56 | } |
