]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - lib/color.c
iproute: make clang happy
[mirror_iproute2.git] / lib / color.c
index eaf69e74d673a6e949e68c504d54777927789b79..e5406294dfc4bafe5b7a4083c25e17e7cbd21b3c 100644 (file)
@@ -132,6 +132,7 @@ void set_color_palette(void)
                is_dark_bg = 1;
 }
 
+__attribute__((format(printf, 3, 4)))
 int color_fprintf(FILE *fp, enum color_attr attr, const char *fmt, ...)
 {
        int ret = 0;