Patchwork [6/8] lib: fwts_framework: default to plaintext log type

login
register
mail settings
Submitter Colin King
Date May 16, 2012, 1:20 p.m.
Message ID <1337174425-21531-7-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/159643/
State Accepted
Headers show

Comments

Colin King - May 16, 2012, 1:20 p.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/lib/src/fwts_framework.c |    1 +
 1 file changed, 1 insertion(+)
Alex Hung - May 21, 2012, 2:56 p.m.
On 05/16/2012 09:20 PM, Colin King wrote:
> From: Colin Ian King<colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King<colin.king@canonical.com>
> ---
>   src/lib/src/fwts_framework.c |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/lib/src/fwts_framework.c b/src/lib/src/fwts_framework.c
> index bc39b6b..1fcd88e 100644
> --- a/src/lib/src/fwts_framework.c
> +++ b/src/lib/src/fwts_framework.c
> @@ -1147,6 +1147,7 @@ int fwts_framework_args(const int argc, char **argv)
>   	fw->magic = FWTS_FRAMEWORK_MAGIC;
>   	fw->flags = FWTS_FRAMEWORK_FLAGS_DEFAULT |
>   		    FWTS_FRAMEWORK_FLAGS_SHOW_PROGRESS;
> +	fw->log_type = LOG_TYPE_PLAINTEXT;
>
>   	fwts_list_init(&fw->total_taglist);
>
Acked-by: Alex Hung <alex.hung@canonical.com>
Keng-Yu Lin - May 23, 2012, 6:04 a.m.
On Wed, May 16, 2012 at 9:20 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/lib/src/fwts_framework.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/lib/src/fwts_framework.c b/src/lib/src/fwts_framework.c
> index bc39b6b..1fcd88e 100644
> --- a/src/lib/src/fwts_framework.c
> +++ b/src/lib/src/fwts_framework.c
> @@ -1147,6 +1147,7 @@ int fwts_framework_args(const int argc, char **argv)
>        fw->magic = FWTS_FRAMEWORK_MAGIC;
>        fw->flags = FWTS_FRAMEWORK_FLAGS_DEFAULT |
>                    FWTS_FRAMEWORK_FLAGS_SHOW_PROGRESS;
> +       fw->log_type = LOG_TYPE_PLAINTEXT;
>
>        fwts_list_init(&fw->total_taglist);
>
> --
> 1.7.10
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>

Patch

diff --git a/src/lib/src/fwts_framework.c b/src/lib/src/fwts_framework.c
index bc39b6b..1fcd88e 100644
--- a/src/lib/src/fwts_framework.c
+++ b/src/lib/src/fwts_framework.c
@@ -1147,6 +1147,7 @@  int fwts_framework_args(const int argc, char **argv)
 	fw->magic = FWTS_FRAMEWORK_MAGIC;
 	fw->flags = FWTS_FRAMEWORK_FLAGS_DEFAULT |
 		    FWTS_FRAMEWORK_FLAGS_SHOW_PROGRESS;
+	fw->log_type = LOG_TYPE_PLAINTEXT;
 
 	fwts_list_init(&fw->total_taglist);