$NetBSD$

--- auth-pword.c.orig	Fri Oct 29 20:14:58 2004
+++ auth-pword.c	Fri Oct 29 20:15:57 2004
@@ -122,8 +122,8 @@
         if (NULL != (fp = fopen("./spread.access_pword", "r")) )
             Alarmp( SPLOG_INFO,ACM, "pword_init: using file: ./spread.access_pword\n");
     if (fp == NULL)
-        if (NULL != (fp = fopen("/etc/spread.access_pword", "r")) )
-            Alarmp( SPLOG_INFO, ACM, "pword_init: using file: /etc/spread.access_pword\n");
+        if (NULL != (fp = fopen(SPREAD_ETCDIR "/spread.access_pword", "r")) )
+            Alarmp( SPLOG_INFO, ACM, "pword_init: using file: " SPREAD_ETCDIR "/spread.access_pword\n");
     if (fp == NULL)
         Alarmp( SPLOG_FATAL, ACM, "pword_init: error opening config file %s in any of the standard locations. Please make sure the file exists\n", file_name);
 
