Fix minor annoyance: have clnt_perror(), clnt_perrno() and

clnt_pcreateerror() emit strings with newlines appended like other
platforms do.
This commit is contained in:
wpaul 1995-12-10 17:40:18 +00:00
parent faa367e907
commit 9e13133694

View File

@ -30,7 +30,7 @@
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)clnt_perror.c 2.1 88/07/29 4.0 RPCSRC";*/ /*static char *sccsid = "from: @(#)clnt_perror.c 2.1 88/07/29 4.0 RPCSRC";*/
static char *rcsid = "$Id: clnt_perror.c,v 1.2 1995/05/30 05:41:15 rgrimes Exp $"; static char *rcsid = "$Id: clnt_perror.c,v 1.3 1995/10/22 14:51:14 phk Exp $";
#endif #endif
/* /*
@ -151,7 +151,7 @@ clnt_perror(rpch, s)
CLIENT *rpch; CLIENT *rpch;
char *s; char *s;
{ {
(void) fprintf(stderr,"%s",clnt_sperror(rpch,s)); (void) fprintf(stderr,"%s\n",clnt_sperror(rpch,s));
} }
@ -221,7 +221,7 @@ void
clnt_perrno(num) clnt_perrno(num)
enum clnt_stat num; enum clnt_stat num;
{ {
(void) fprintf(stderr,"%s",clnt_sperrno(num)); (void) fprintf(stderr,"%s\n",clnt_sperrno(num));
} }
@ -262,7 +262,7 @@ void
clnt_pcreateerror(s) clnt_pcreateerror(s)
char *s; char *s;
{ {
(void) fprintf(stderr,"%s",clnt_spcreateerror(s)); (void) fprintf(stderr,"%s\n",clnt_spcreateerror(s));
} }
struct auth_errtab { struct auth_errtab {