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