From 87d01c854bf9860c8c21814c991f58652f6b4332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?SZEDER=20G=C3=A1bor?= Date: Wed, 16 Dec 2015 12:22:55 +0100 Subject: credential-store: don't pass strerror to die_errno() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: SZEDER Gábor Signed-off-by: Junio C Hamano --- credential-store.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'credential-store.c') diff --git a/credential-store.c b/credential-store.c index fc67d16c10..54c4e04737 100644 --- a/credential-store.c +++ b/credential-store.c @@ -64,8 +64,7 @@ static void rewrite_credential_file(const char *fn, struct credential *c, print_line(extra); parse_credential_file(fn, c, NULL, print_line); if (commit_lock_file(&credential_lock) < 0) - die_errno("unable to write credential store: %s", - strerror(errno)); + die_errno("unable to write credential store"); } static void store_credential_file(const char *fn, struct credential *c) -- cgit v1.2.1