From: Friedrich Beckmann Date: Sun, 28 Sep 2014 23:46:07 +0000 (-0700) Subject: render-test: Fix invocation of tab_footnote(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=607d3c7d7bc6f2e3f5bc7c07eb12b5aa6fb2bdea render-test: Fix invocation of tab_footnote(). Fixes this GCC warning: tests/output/render-test.c: In function ‘read_table’: tests/output/render-test.c:491:19: error: format not a string literal and no format arguments [-Werror=format-security] --- diff --git a/tests/output/render-test.c b/tests/output/render-test.c index 0d6f9684f3..8ce0697910 100644 --- a/tests/output/render-test.c +++ b/tests/output/render-test.c @@ -488,7 +488,7 @@ read_table (FILE *stream, struct table **tables, size_t n_tables) tab_joint_text (tab, c, r, c + cs - 1, r + rs - 1, opt, content); else - tab_footnote (tab, c, r, content); + tab_footnote (tab, c, r, "%s", content); } }