Re: [PATCH 06/14] introduce credentials API
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 21, 2011, 21:59 UTC
- Message-ID
- <7vvcuvz458.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110718075034.GF12341@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 12 quoted lines
> diff --git a/credential.c b/credential.c
> new file mode 100644
> index 0000000..c403289
> --- /dev/null
> +++ b/credential.c
> @@ -0,0 +1,190 @@
> ...
> +void credential_fill(struct credential *c, const struct string_list *methods)
> +{
> + ...
> + }
> + die(err.buf);credential.c:195: error: format not a string literal and no format arguments
This needs to be
die("%s", err.buf);