credential-store: don't pass strerror to die_errno()
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
SZEDER Gábor committed
Dec 16, 2015 at 12:22 UTC
87d01c854bf9860c8c21814c991f58652f6b4332
1 file changed
+1
-2
credential-store.c
+1
-2
@@ -64,8 +64,7 @@ static void rewrite_credential_file(const char *fn, struct credential *c,
64
print_line(extra);
65
parse_credential_file(fn, c, NULL, print_line);
66
if (commit_lock_file(&credential_lock) < 0)
67
- die_errno("unable to write credential store: %s",
68
- strerror(errno));
67
+ die_errno("unable to write credential store");
68
}
69
70
static void store_credential_file(const char *fn, struct credential *c)