Skip to content

Commit 87d01c8

Browse files
szedergitster
authored andcommitted
credential-store: don't pass strerror to die_errno()
Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 08a3651 commit 87d01c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

credential-store.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ static void rewrite_credential_file(const char *fn, struct credential *c,
6464
print_line(extra);
6565
parse_credential_file(fn, c, NULL, print_line);
6666
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");
6968
}
7069

7170
static void store_credential_file(const char *fn, struct credential *c)

0 commit comments

Comments
 (0)