summaryrefslogtreecommitdiffstats
path: root/help.c
diff options
context:
space:
mode:
authorDavid Champion <dgc@c13.us>2019-11-13 00:27:27 +0000
committerKevin McCarthy <kevin@8t8.us>2019-11-12 19:06:03 -0800
commitf098ac2dce4eefda835ec479cc5b1bf92fd0db9b (patch)
treee8878754cd0fd60bb326df634febca5e27e15c6b /help.c
parent09dfed3fc7112debd3fa8c50945842d568842476 (diff)
Fix __attribute__((warn_unused_result)) issue in help.c
Diffstat (limited to 'help.c')
-rw-r--r--help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/help.c b/help.c
index 5d1882db..c5bb4b7f 100644
--- a/help.c
+++ b/help.c
@@ -185,7 +185,7 @@ static int get_wrapped_width (const char *t, size_t wid)
static int pad (FILE *f, int col, int i)
{
- char fmt[8];
+ char fmt[15]; /* min size to accommodate %%-%ds */
if (col < i)
{