From patchwork Wed Oct 31 14:11:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/4] lib: include: fwts_log, add in new label field From: Colin King X-Patchwork-Id: 195881 Message-Id: <1351692684-15611-2-git-send-email-colin.king@canonical.com> To: fwts-devel@lists.ubuntu.com Date: Wed, 31 Oct 2012 14:11:21 +0000 From: Colin Ian King 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 Acked-by: Alex Hung Acked-by: Keng-Yu Lin --- 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;