Fix function call typo in frontend Win32 code, commit 978f869b99
authorBruce Momjian <bruce@momjian.us>
Sat, 26 Dec 2020 01:49:50 +0000 (20:49 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 26 Dec 2020 01:49:50 +0000 (20:49 -0500)
Reported-by: buildfarm member walleye
Backpatch-through: master

src/common/kmgr_utils.c

index db8572c8eaeb4317f1ae5608db1373c2964fe6f6..f499e2525e0a02a40af91b81799928ab96ab564f 100644 (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';