diff options
author | 2002-09-10 05:39:07 +0000 | |
---|---|---|
committer | 2002-09-10 05:39:07 +0000 | |
commit | d073182f355fa5acd30148884d0b9c0e15a0cf48 (patch) | |
tree | 34d11b1d73f28ecf962ddc7fcddce97d34841fef /lib/libc | |
parent | various cleanups (diff) | |
download | wireguard-openbsd-d073182f355fa5acd30148884d0b9c0e15a0cf48.tar.xz wireguard-openbsd-d073182f355fa5acd30148884d0b9c0e15a0cf48.zip |
remove extra output of \n in clnt_perror()
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/rpc/clnt_perror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/clnt_perror.c b/lib/libc/rpc/clnt_perror.c index 0dc8d83ff16..16bde81825b 100644 --- a/lib/libc/rpc/clnt_perror.c +++ b/lib/libc/rpc/clnt_perror.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: clnt_perror.c,v 1.14 2002/05/29 18:53:14 deraadt Exp $"; +static char *rcsid = "$OpenBSD: clnt_perror.c,v 1.15 2002/09/10 05:39:07 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -152,7 +152,7 @@ clnt_perror(rpch, s) CLIENT *rpch; char *s; { - (void) fprintf(stderr, "%s\n", clnt_sperror(rpch, s)); + (void) fprintf(stderr, "%s", clnt_sperror(rpch, s)); } static const char *const rpc_errlist[] = { |