From: deraadt Date: Sun, 9 Feb 1997 03:35:23 +0000 (+0000) Subject: do not print extra \n X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e077e78ca3b1aeefdb67f810b9c16cf1f5a50d08;p=openbsd do not print extra \n --- diff --git a/lib/libc/rpc/clnt_perror.c b/lib/libc/rpc/clnt_perror.c index 14656344c4d..b6514b1b098 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.6 1997/01/21 06:07:22 millert Exp $"; +static char *rcsid = "$OpenBSD: clnt_perror.c,v 1.7 1997/02/09 03:35:23 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -230,7 +230,7 @@ void clnt_pcreateerror(s) char *s; { - (void) fprintf(stderr, "%s\n", clnt_spcreateerror(s)); + (void) fprintf(stderr, "%s", clnt_spcreateerror(s)); } static const char *const auth_errlist[] = {