From d2043c1d4cc0a1ec2d7c4b2ed7f9b6d529514172 Mon Sep 17 00:00:00 2001 From: katherine Date: Wed, 21 Mar 2018 01:50:56 -0700 Subject: squanch clang errors --- simple-opt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'simple-opt.h') diff --git a/simple-opt.h b/simple-opt.h index d250e73..ada6233 100644 --- a/simple-opt.h +++ b/simple-opt.h @@ -660,7 +660,7 @@ static void simple_opt_print_usage(FILE *f, unsigned width, char *usage_name, if (options[i].type != SIMPLE_OPT_FLAG) { if (options[i].custom_arg_string != NULL) { sprintf(print_buffer + print_buffer_offset, - options[i].custom_arg_string); + "%s", options[i].custom_arg_string); print_buffer_offset += strlen(options[i].custom_arg_string); } else { switch (options[i].type) { -- cgit v1.2.3