diff --git a/builtin-check-attr.c b/builtin-check-attr.c
index 4921341e33033bb4a2449425d6fd76132a67cd16..15a04b7179a09492764d43c16a3ec5ff7cdd1b61 100644 (file)
--- a/builtin-check-attr.c
+++ b/builtin-check-attr.c
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);
}