X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=fsck.c;h=97f76c58155249412d7c59e965b564dfc0f75181;hb=8851f4800c15fe91b6a53e9e284787b983226c41;hp=0cf5f012bdfa876fae4e15ed9cb94ed304314bf6;hpb=500ac7f42e7f2ae42e33be3bbb7120b788175b1d;p=git.git diff --git a/fsck.c b/fsck.c index 0cf5f012b..97f76c581 100644 --- 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; }