aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/exec.c b/src/common/exec.c
index e3e81c1db85..4df16cd64bd 100644
--- a/src/common/exec.c
+++ b/src/common/exec.c
@@ -308,7 +308,7 @@ find_other_exec(const char *argv0, const char *target,
const char *versionstr, char *retpath)
{
char cmd[MAXPGPATH];
- char line[100];
+ char line[MAXPGPATH];
if (find_my_exec(argv0, retpath) < 0)
return -1;