Skip to content

Commit 1ff8856

Browse files
committed
Merge branch 'sg/lock-file-commit-error' into maint
* sg/lock-file-commit-error: credential-store: don't pass strerror to die_errno()
2 parents 1aaf149 + 87d01c8 commit 1ff8856

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)