summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2020-12-25 20:49:50 -0500
committerBruce Momjian <bruce@momjian.us>2020-12-25 20:49:50 -0500
commit7705f8ca03713457bf7cde0b859a1ab45e4f268b (patch)
tree563c379a41b17242e6d602b70e40baa192ea3902 /src
parent300e430c76644b483f70bc833d6251a6a7fb84a6 (diff)
downloadpostgresql-7705f8ca03713457bf7cde0b859a1ab45e4f268b.tar.gz
Fix function call typo in frontend Win32 code, commit 978f869b99
Reported-by: buildfarm member walleye Backpatch-through: master
Diffstat (limited to 'src')
-rw-r--r--src/common/kmgr_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/kmgr_utils.c b/src/common/kmgr_utils.c
index db8572c8ea..f499e2525e 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';