summaryrefslogtreecommitdiff
path: root/lib/termtable.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-01-26 14:21:02 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-01-27 12:01:17 +0100
commit0f9de11a11644b77cc60d6ff6ac4519d2e5c29e1 (patch)
treec8e418c2049ef79101e62821f2b49506654eb4bd /lib/termtable.c
parente784f789fb7af43027eeee55a3f16026ab36b9e4 (diff)
*: apply proper format string attributes
So that we get warnings about broken format strings. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/termtable.c')
-rw-r--r--lib/termtable.c1
1 files changed, 1 insertions, 0 deletions
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)
{