summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/psql/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 091a7a7e86a..afba6b31987 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -1803,7 +1803,7 @@ editFile(const char *fname, int lineno)
#else
if (lineno > 0)
sprintf(sys, SYSTEMQUOTE "\"%s\" %s%d \"%s\"" SYSTEMQUOTE,
- editorName, editor_lineno_switch, lineno, fname);
+ editorName, editor_lineno_arg, lineno, fname);
else
sprintf(sys, SYSTEMQUOTE "\"%s\" \"%s\"" SYSTEMQUOTE,
editorName, fname);