]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/m_ematch.h
iproute: make clang happy
[mirror_iproute2.git] / tc / m_ematch.h
index ff02d7ac91123602fe24fe3f521e1e7593729f3c..356f2eded7fc9e2c0c93ab4479b128fdf0afac8b 100644 (file)
@@ -102,6 +102,7 @@ static inline int parse_layer(const struct bstr *b)
                return INT_MAX;
 }
 
+__attribute__((format(printf, 5, 6)))
 int em_parse_error(int err, struct bstr *args, struct bstr *carg,
                   struct ematch_util *, char *fmt, ...);
 int print_ematch(FILE *, const struct rtattr *);