Message ID | 1351692684-15611-2-git-send-email-colin.king@canonical.com |
---|---|
State | Accepted |
Headers | show |
On 10/31/2012 10:11 PM, Colin King wrote: > From: Colin Ian King <colin.king@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@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; > Acked-by: Alex Hung <alex.hung@canonical.com>
On Wed, Oct 31, 2012 at 10:11 PM, Colin King <colin.king@canonical.com> wrote: > From: Colin Ian King <colin.king@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@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@canonical.com>
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;