diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c
index 1a1c7bfc3dd74856af58bfdc32de5a2dbd54ed3d..38570f04e938d6065618aa31c4391a0ffb5b1a0d 100644
--- a/src/interfaces/libpq/fe-auth.c
+++ b/src/interfaces/libpq/fe-auth.c
@@ -976,8 +976,10 @@ pg_fe_sendauth(AuthRequest areq, PGconn *conn)
 
 
 /*
- * pg_fe_getauthname -- returns a pointer to dynamic space containing whatever
- *					 name the user has authenticated to the system
+ * pg_fe_getauthname
+ *
+ * Returns a pointer to dynamic space containing whatever name the user
+ * has authenticated to the system.  If there is an error, return NULL.
  */
 char *
 pg_fe_getauthname(void)