aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-27 09:16:54 -0700
committerJunio C Hamano <gitster@pobox.com>2022-07-27 09:16:54 -0700
commiteacf9b2bb60669bcf9ab7976c60282c3dffed0fd (patch)
tree268d3f81a9cb5b30b707aa567840c247f49fd5c6
parentMerge branch 'vd/scalar-doc' (diff)
parentosx-keychain: fix compiler warning (diff)
downloadgit-eacf9b2bb60669bcf9ab7976c60282c3dffed0fd.tar.gz
git-eacf9b2bb60669bcf9ab7976c60282c3dffed0fd.zip
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 0b44a9b7cc..bf77748d60 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();