diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-12 04:07:24 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-12 04:07:24 +0000 |
commit | 4ce9e5126b2a7866026b751775921181dd268138 (patch) | |
tree | a27bf0713e9a37ca10068e3bb66f41c3c84456d3 /usr.sbin/apm/apm.c | |
parent | dd4c5253ba39d52ccb95112c5b7c973f94cba86d (diff) |
Kill extra newline in err()/warn().
Diffstat (limited to 'usr.sbin/apm/apm.c')
-rw-r--r-- | usr.sbin/apm/apm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c index 12c8deffe61..e635bd11ec7 100644 --- a/usr.sbin/apm/apm.c +++ b/usr.sbin/apm/apm.c @@ -1,3 +1,5 @@ +/* $OpenBSD: apm.c,v 1.2 1997/09/12 04:07:14 millert Exp $ */ + /* * Copyright (c) 1996 John T. Kohl * All rights reserved. @@ -87,7 +89,7 @@ send_command(int fd, if (send(fd, cmd, sizeof(*cmd), 0) == sizeof(*cmd)) { if (recv(fd, reply, sizeof(*reply), 0) != sizeof(*reply)) { - warn("invalid reply from APM daemon\n"); + warn("invalid reply from APM daemon"); return 1; } } else { @@ -277,7 +279,7 @@ main(int argc, char *argv[]) break; } } else - errx(rval, "cannot get reply from APM daemon\n"); + errx(rval, "cannot get reply from APM daemon"); exit(0); } |