[PATCH 3/4] lib: fwts_framework: log advice as LOG_ADVICE and not LOG_RESULT
Chris Van Hoof
vanhoof at canonical.com
Mon Jun 11 16:04:16 UTC 2012
On 05/30/2012 02:40 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/lib/src/fwts_framework.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lib/src/fwts_framework.c b/src/lib/src/fwts_framework.c
> index 78a715d..3f54fdb 100644
> --- a/src/lib/src/fwts_framework.c
> +++ b/src/lib/src/fwts_framework.c
> @@ -672,7 +672,7 @@ void fwts_framework_log(fwts_framework *fw,
> case LOG_ADVICE:
> fwts_log_nl(fw);
> snprintf(prefix, sizeof(prefix), "%s: ", str);
> - fwts_log_printf(fw->results, LOG_RESULT, level, str, label, prefix, "%s", buffer);
> + fwts_log_printf(fw->results, LOG_ADVICE, level, str, label, prefix, "%s", buffer);
> fwts_log_nl(fw);
> break;
> case LOG_FAILED:
Tested-by: Chris Van Hoof <vanhoof at canonical.com>
More information about the fwts-devel
mailing list