Merge branch 'maint'
[gitweb.git] / fsck.c
diff --git a/fsck.c b/fsck.c
index 0cf5f012bdfa876fae4e15ed9cb94ed304314bf6..97f76c58155249412d7c59e965b564dfc0f75181 100644 (file)
--- a/fsck.c
+++ b/fsck.c
@@ -326,7 +326,7 @@ int fsck_error_function(struct object *obj, int type, const char *fmt, ...)
                        die("this should not happen, your snprintf is broken");
        }
 
-       error(sb.buf);
+       error("%s", sb.buf);
        strbuf_release(&sb);
        return 1;
 }