aboutsummaryrefslogtreecommitdiff
path: root/builtin-check-attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-check-attr.c')
-rw-r--r--builtin-check-attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-check-attr.c b/builtin-check-attr.c
index 4921341e3..15a04b717 100644
--- a/builtin-check-attr.c
+++ b/builtin-check-attr.c
@@ -97,7 +97,7 @@ int cmd_check_attr(int argc, const char **argv, const char *prefix)
else if (stdin_paths && doubledash < argc)
errstr = "Can't specify files with --stdin";
if (errstr) {
- error (errstr);
+ error("%s", errstr);
usage_with_options(check_attr_usage, check_attr_options);
}