From fadf68099e5ac47295a9a2cfc5cfb1459cb2f45f Mon Sep 17 00:00:00 2001 From: wpaul Date: Sun, 10 Dec 1995 17:40:18 +0000 Subject: Fix minor annoyance: have clnt_perror(), clnt_perrno() and clnt_pcreateerror() emit strings with newlines appended like other platforms do. --- lib/libc/rpc/clnt_perror.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libc/rpc/clnt_perror.c') diff --git a/lib/libc/rpc/clnt_perror.c b/lib/libc/rpc/clnt_perror.c index 0d5c9eb..a6ee70b 100644 --- a/lib/libc/rpc/clnt_perror.c +++ b/lib/libc/rpc/clnt_perror.c @@ -30,7 +30,7 @@ #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 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 /* @@ -151,7 +151,7 @@ clnt_perror(rpch, s) CLIENT *rpch; 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) 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) char *s; { - (void) fprintf(stderr,"%s",clnt_spcreateerror(s)); + (void) fprintf(stderr,"%s\n",clnt_spcreateerror(s)); } struct auth_errtab { -- cgit v1.1