gitweb: link to patch(es) view in commit(diff) and (short)log view
[gitweb.git] / hash-object.c
index 20937ff94c1ce6ab7984d7b6b1903307e303eb60..846e91a23126b747fbea8d9a8511f708c3d70e43 100644 (file)
@@ -110,7 +110,7 @@ int main(int argc, const char **argv)
        }
 
        if (errstr) {
-               error (errstr);
+               error("%s", errstr);
                usage_with_options(hash_object_usage, hash_object_options);
        }