diff --git a/src/port/exec.c b/src/port/exec.c
index 74930b284fb8d5e8f46d4989efb99aad933f9694..5da1b0811fe41479d945ea59cd84c4575fdafcff 100644
--- a/src/port/exec.c
+++ b/src/port/exec.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $PostgreSQL: pgsql/src/port/exec.c,v 1.13 2004/05/21 16:06:23 tgl Exp $
+ *	  $PostgreSQL: pgsql/src/port/exec.c,v 1.14 2004/05/24 20:23:50 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -72,7 +72,7 @@ static void win32_make_absolute(char *path);
  *		  -2 if the file is otherwise valid but cannot be read.
  */
 static int
-validate_exec(char *path)
+validate_exec(const char *path)
 {
 	struct stat buf;