Skip to content

Commit

Permalink
credential-store: don't pass strerror to die_errno()
Browse files Browse the repository at this point in the history
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
SZEDER Gábor authored and Junio C Hamano committed Dec 16, 2015
1 parent 08a3651 commit 87d01c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions credential-store.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 87d01c8

Please sign in to comment.