diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-10 05:39:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-10 05:39:08 +0000 |
commit | f82b3ea8742713075126bb4c69806efd11cbc311 (patch) | |
tree | 15d0a671283e5a198b084073af329249c1f42fc5 /lib/libc | |
parent | 3e5da38900c4b3fd49ddf4cbf760d7b8e21a6bed (diff) |
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[] = { |