diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-12-10 17:40:18 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-12-10 17:40:18 +0000 |
commit | fadf68099e5ac47295a9a2cfc5cfb1459cb2f45f (patch) | |
tree | 7af1b07db12300186faf50067b2afd4c114bc106 | |
parent | 99e5039c72eb0b5010c09ee57fb090ef468688c7 (diff) | |
download | FreeBSD-src-fadf68099e5ac47295a9a2cfc5cfb1459cb2f45f.zip FreeBSD-src-fadf68099e5ac47295a9a2cfc5cfb1459cb2f45f.tar.gz |
Fix minor annoyance: have clnt_perror(), clnt_perrno() and
clnt_pcreateerror() emit strings with newlines appended like other
platforms do.
-rw-r--r-- | lib/libc/rpc/clnt_perror.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |