From 0f9de11a11644b77cc60d6ff6ac4519d2e5c29e1 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 26 Jan 2023 14:21:02 +0100 Subject: *: apply proper format string attributes So that we get warnings about broken format strings. Signed-off-by: David Lamparter --- lib/termtable.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/termtable.c') diff --git a/lib/termtable.c b/lib/termtable.c index ddf8822853..91ec753005 100644 --- a/lib/termtable.c +++ b/lib/termtable.c @@ -130,6 +130,7 @@ struct ttable *ttable_new(const struct ttable_style *style) * * @return pointer to the first cell of allocated row */ +PRINTFRR(3, 0) static struct ttable_cell *ttable_insert_row_va(struct ttable *tt, int i, const char *format, va_list ap) { -- cgit v1.2.3