X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=fsck.c;h=97f76c58155249412d7c59e965b564dfc0f75181;hb=a2df1fb2e52a49bf6b17b352581510efd851f337;hp=0cf5f012bdfa876fae4e15ed9cb94ed304314bf6;hpb=5c283eb13c94be6ca974aa722159dc9838d10d97;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; }