mirror of
https://github.com/Kiritow/image-station.git
synced 2024-03-22 13:30:54 +08:00
Fix compile error
This commit is contained in:
parent
30ea25cc04
commit
84e9e9325e
|
@ -151,7 +151,7 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Loading frpc...\n");
|
fprintf(stderr, "Loading frpc...\n");
|
||||||
const char* callArgs[] = {"frpc", "-c", "frpc.ini", NULL};
|
const char* callArgs[] = {"frpc", "-c", "frpc.ini", NULL};
|
||||||
if (execv("/frpc", (char* const*)callArgs) < 0)
|
if (execv("/frpc", (char**)callArgs) < 0)
|
||||||
{
|
{
|
||||||
perror("execv");
|
perror("execv");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user