aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-10-09 23:21:29 +0000
committerYang Tse <yangsita@gmail.com>2007-10-09 23:21:29 +0000
commit660c86ce953af9702bdd4b05f93806a3be13547f (patch)
treed223bd85a00a04be5e07fca905cc89d6883bef50
parent50b3545ada98e078b93fb2d0c8a39daa450eb9e4 (diff)
logmsg already appends '\n'
-rw-r--r--tests/server/sockfilt.c6
1 files changed, 3 insertions, 3 deletions
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;
}