mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Use an explicit format string to keep the compiler happy.
This commit is contained in:
parent
dedcc48c56
commit
c43d0791ac
@ -48,7 +48,7 @@ pgwin32_is_admin(void)
|
||||
if (!pgwin32_get_dynamic_tokeninfo(AccessToken, TokenGroups,
|
||||
&InfoBuffer, errbuf, sizeof(errbuf)))
|
||||
{
|
||||
write_stderr(errbuf);
|
||||
write_stderr("%s", errbuf);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@ -138,7 +138,7 @@ pgwin32_is_service(void)
|
||||
if (!pgwin32_get_dynamic_tokeninfo(AccessToken, TokenUser, &InfoBuffer,
|
||||
errbuf, sizeof(errbuf)))
|
||||
{
|
||||
fprintf(stderr, errbuf);
|
||||
fprintf(stderr, "%s", errbuf);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -169,7 +169,7 @@ pgwin32_is_service(void)
|
||||
if (!pgwin32_get_dynamic_tokeninfo(AccessToken, TokenGroups, &InfoBuffer,
|
||||
errbuf, sizeof(errbuf)))
|
||||
{
|
||||
fprintf(stderr, errbuf);
|
||||
fprintf(stderr, "%s", errbuf);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user