Fix function call typo in frontend Win32 code, commit 978f869b99

Reported-by: buildfarm member walleye

Backpatch-through: master
This commit is contained in:
Bruce Momjian 2020-12-25 20:49:50 -05:00
parent 300e430c76
commit 7705f8ca03

View File

@ -348,7 +348,7 @@ open_pipe_stream(const char *command)
return NULL;
}
buf[0] = '"';
mempcy(&buf[1], command, cmdlen);
memcpy(&buf[1], command, cmdlen);
buf[cmdlen + 1] = '"';
buf[cmdlen + 2] = '\0';