Fix poorly worded error message.

Adam Brightwell, per report from Martín Marqués.
This commit is contained in:
Tom Lane 2014-12-17 13:14:53 -05:00
parent cef0ae498c
commit c977b8cffc

View File

@ -1590,8 +1590,9 @@ auth_peer(hbaPort *port)
if (!pw)
{
ereport(LOG,
(errmsg("could not to look up local user ID %ld: %s",
(long) uid, errno ? strerror(errno) : _("user does not exist"))));
(errmsg("could not look up local user ID %ld: %s",
(long) uid,
errno ? strerror(errno) : _("user does not exist"))));
return STATUS_ERROR;
}