Skip to content

Commit e06f4c6

Browse files
committed
Fix compile error.
1 parent cd06c70 commit e06f4c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.202 2002/09/05 22:05:50 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.203 2002/09/05 22:24:23 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -2930,7 +2930,8 @@ PasswordFromFile(char *hostname, char *port, char *dbname, char *username)
29302930
pgpassfile = malloc(strlen(home) + strlen(PGPASSFILE) + 1);
29312931
if (!pgpassfile)
29322932
{
2933-
fprintf(stderr, gettext("%s: out of memory\n"), pset.progname);
2933+
2934+
fprintf(stderr, libpq_gettext("out of memory\n"));
29342935
exit(EXIT_FAILURE);
29352936
}
29362937
}

0 commit comments

Comments
 (0)