From 9f944f04431882fb0a3cea87451eccb9d3aac7f5 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 14 May 2004 17:04:48 +0000 Subject: Adjust find_my_exec/find_other_exec() so that the return parameter is last, not first. This fits our style better. --- src/backend/tcop/postgres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/tcop/postgres.c') diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 97c4d1dde16..72750bfa623 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.405 2004/05/13 22:45:03 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.406 2004/05/14 17:04:45 momjian Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2648,7 +2648,7 @@ PostgresMain(int argc, char *argv[], const char *username) /* * On some systems our dynloader code needs the executable's pathname. */ - if (strlen(my_exec_path) == 0 && find_my_exec(my_exec_path, argv[0]) < 0) + if (strlen(my_exec_path) == 0 && find_my_exec(argv[0], my_exec_path) < 0) ereport(FATAL, (errmsg("%s: could not locate postgres executable", argv[0]))); -- cgit v1.2.3