[PATCH 1/4] lib: include: fwts_log, add in new label field
Keng-Yu Lin
kengyu at canonical.com
Tue Nov 6 06:31:39 UTC 2012
On Wed, Oct 31, 2012 at 10:11 PM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> We need to keep track of the labels per error message rather than
> rely on automatically generating these at run time.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/lib/include/fwts_klog.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/lib/include/fwts_klog.h b/src/lib/include/fwts_klog.h
> index a47cf7a..db3b65b 100644
> --- a/src/lib/include/fwts_klog.h
> +++ b/src/lib/include/fwts_klog.h
> @@ -43,6 +43,7 @@ typedef struct {
> fwts_tag tag;
> const char *pattern;
> const char *advice;
> + char *label;
> pcre *re;
> pcre_extra *extra;
> } fwts_klog_pattern;
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>
More information about the fwts-devel
mailing list