[PATCH] credential-store: don't pass strerror to die_errno()
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- Dec 16, 2015, 11:22 UTC
- Message-ID
- <1450264975-9760-1-git-send-email-szeder@ira.uka.de>
- In-Reply-To
- <1449138687-23675-1-git-send-email-szeder@ira.uka.de>
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> ---
v2 fixed this, but it fell on the floor, I suppose because of the maintainer switch. Anyway, I should have noticed it while the patch was still cooking, sorry.
credential-store.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/credential-store.c b/credential-store.c index fc67d16c1088..54c4e0473737 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)
-- 2.7.0.rc0.37.g77d69b9