From 7705f8ca03713457bf7cde0b859a1ab45e4f268b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 25 Dec 2020 20:49:50 -0500 Subject: [PATCH] Fix function call typo in frontend Win32 code, commit 978f869b99 Reported-by: buildfarm member walleye Backpatch-through: master --- src/common/kmgr_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kmgr_utils.c b/src/common/kmgr_utils.c index db8572c8eae..f499e2525e0 100644 --- a/src/common/kmgr_utils.c +++ b/src/common/kmgr_utils.c @@ -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';