[PATCH 3/4] lib: fwts_framework: log advice as LOG_ADVICE and not LOG_RESULT

Keng-Yu Lin kengyu at canonical.com
Fri Jun 1 08:48:27 UTC 2012


On Thu, May 31, 2012 at 2:40 AM, Colin King <colin.king at canonical.com> 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:
> --
> 1.7.9.5
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>




More information about the fwts-devel mailing list