From 660c86ce953af9702bdd4b05f93806a3be13547f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 9 Oct 2007 23:21:29 +0000 Subject: logmsg already appends '\n' --- tests/server/sockfilt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index ae576237e..e5a605157 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -678,9 +678,9 @@ int main(int argc, char *argv[]) } else { error = ERRNO; - logmsg("fopen() failed with error: %d %s\n", error, strerror(error)); - logmsg("Error opening file: %s\n", pidname); - logmsg("Couldn't write pid file\n"); + logmsg("fopen() failed with error: %d %s", error, strerror(error)); + logmsg("Error opening file: %s", pidname); + logmsg("Couldn't write pid file"); sclose(sock); return 1; } -- cgit v1.2.3