summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-27 16:16:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-07-27 16:16:54 (GMT)
commiteacf9b2bb60669bcf9ab7976c60282c3dffed0fd (patch)
tree268d3f81a9cb5b30b707aa567840c247f49fd5c6
parent3a03633812cb60bf2f59c77a485a283141e7e199 (diff)
parentf2fc531585215d02a75a4d1ce7e6964e9eb21812 (diff)
downloadgit-eacf9b2bb60669bcf9ab7976c60282c3dffed0fd.zip
git-eacf9b2bb60669bcf9ab7976c60282c3dffed0fd.tar.gz
git-eacf9b2bb60669bcf9ab7976c60282c3dffed0fd.tar.bz2
Merge branch 'ld/osx-keychain-usage-fix'
Workaround for a compiler warning against use of die() in osx-keychain (in contrib/). * ld/osx-keychain-usage-fix: osx-keychain: fix compiler warning
-rw-r--r--contrib/credential/osxkeychain/git-credential-osxkeychain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/credential/osxkeychain/git-credential-osxkeychain.c b/contrib/credential/osxkeychain/git-credential-osxkeychain.c
index 0b44a9b..bf77748 100644
--- a/contrib/credential/osxkeychain/git-credential-osxkeychain.c
+++ b/contrib/credential/osxkeychain/git-credential-osxkeychain.c
@@ -168,7 +168,7 @@ int main(int argc, const char **argv)
"usage: git credential-osxkeychain <get|store|erase>";
if (!argv[1])
- die(usage);
+ die("%s", usage);
read_credential();