diff --git a/hash-object.c b/hash-object.c
index 20937ff94c1ce6ab7984d7b6b1903307e303eb60..846e91a23126b747fbea8d9a8511f708c3d70e43 100644 (file)
--- a/hash-object.c
+++ b/hash-object.c
}
if (errstr) {
}
if (errstr) {
- error (errstr);
+ error("%s", errstr);
usage_with_options(hash_object_usage, hash_object_options);
}
usage_with_options(hash_object_usage, hash_object_options);
}