|
42 | 42 | * Portions Copyright (c) 1994, Regents of the University of California
|
43 | 43 | * Portions taken from FreeBSD.
|
44 | 44 | *
|
45 |
| - * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.87 2005/06/2805:09:03 tgl Exp $ |
| 45 | + * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.88 2005/06/2815:38:12 tgl Exp $ |
46 | 46 | *
|
47 | 47 | *-------------------------------------------------------------------------
|
48 | 48 | */
|
@@ -1440,7 +1440,7 @@ get_set_pwd(void)
|
1440 | 1440 |
|
1441 | 1441 | check_ok();
|
1442 | 1442 |
|
1443 |
| -snprintf(pwdpath,sizeof(pwdpath),"%s/global/pg_pwd",pg_data); |
| 1443 | +snprintf(pwdpath,sizeof(pwdpath),"%s/global/pg_auth",pg_data); |
1444 | 1444 | if (stat(pwdpath,&statbuf)!=0|| !S_ISREG(statbuf.st_mode))
|
1445 | 1445 | {
|
1446 | 1446 | fprintf(stderr,
|
|