[PATCH 1/4] lib: include: fwts_log, add in new label field
Colin King
colin.king at canonical.com
Wed Oct 31 14:11:21 UTC 2012
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
More information about the fwts-devel
mailing list