Code

difftool: fix documentation problems
[git.git] / builtin-check-attr.c
index 4921341e33033bb4a2449425d6fd76132a67cd16..15a04b7179a09492764d43c16a3ec5ff7cdd1b61 100644 (file)
@@ -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);
        }