From 21920c47e87ce8fde377d6e2b59ed6469e77fd38 Mon Sep 17 00:00:00 2001 From: gbzhangkai Date: Fri, 7 Jul 2023 11:14:50 +0800 Subject: [PATCH] =?UTF-8?q?initdb=20=E4=B8=AD=20main=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E6=9C=89write=5Fstderr=E4=B8=AD=E5=8F=82=E6=95=B0=E4=B8=AA?= =?UTF-8?q?=E6=95=B0=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bin/initdb/initdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.cpp b/src/bin/initdb/initdb.cpp index 93eadcfb1..cb935ab6f 100644 --- a/src/bin/initdb/initdb.cpp +++ b/src/bin/initdb/initdb.cpp @@ -4787,7 +4787,7 @@ int main(int argc, char* argv[]) if (ss_issharedstorage) { int ret = ss_check_shareddir(vgdata, ss_nodeid, &ss_need_mkclusterdir); if (ret != 0) { - write_stderr("ERROR: %s: shared storage initdb failed because of the following error:\n"); + write_stderr("ERROR: %s: shared storage initdb failed because of the following error:\n", progname); if (ret & ERROR_INSTANCEDIR_EXISTS) { write_stderr(_("ERROR: [*]shared storage files of instance %d in the directory \"%s\" already exists\n"), ss_nodeid, vgdata); write_stderr(_("If you want to create a new shared storage instance, either remove shared storage "