osx-keychain: fix compiler warning
Update git-credential-osxkeychain.c to remove 'format string is not a string literal (potentially insecure)' compiler warning by treating the string as an argument. Signed-off-by: Lessley Dennington <lessleydennington@gmail.com> Acked-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
bbea4dcf42
commit
f2fc531585
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user