CodingGuidelines: add Python coding guidelines
[gitweb.git] / attr.c
diff --git a/attr.c b/attr.c
index d6d71901b24855a1d33ef2edeb8fbc6ce8e969dc..233539969af6dc17e8953e4a553cae76fd9601da 100644 (file)
--- a/attr.c
+++ b/attr.c
@@ -704,7 +704,7 @@ static int fill_one(const char *what, struct match_attr *a, int rem)
 
                if (*n == ATTR__UNKNOWN) {
                        debug_set(what,
-                                 a->is_macro ? a->u.attr->name : a->u.pattern,
+                                 a->is_macro ? a->u.attr->name : a->u.pat.pattern,
                                  attr, v);
                        *n = v;
                        rem--;