diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-02 04:33:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-02 04:33:28 +0000 |
commit | 6c67b830f6c0acee7f3b9904a4f5647b94ce7ba9 (patch) | |
tree | 7a42b07900ba0bcda3fd59bd7f28300d1905ab55 /usr.sbin/apm/apm.c | |
parent | ef9c82da68da8cc29d373cb8942a1b3327c2ff81 (diff) |
sync to usage in man page
Diffstat (limited to 'usr.sbin/apm/apm.c')
-rw-r--r-- | usr.sbin/apm/apm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c index 9f6aa554693..e328a999dc1 100644 --- a/usr.sbin/apm/apm.c +++ b/usr.sbin/apm/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.14 2005/12/02 04:27:52 beck Exp $ */ +/* $OpenBSD: apm.c,v 1.15 2005/12/02 04:33:27 deraadt Exp $ */ /* * Copyright (c) 1996 John T. Kohl @@ -58,8 +58,8 @@ int send_command(int fd, struct apm_command *cmd, struct apm_reply *reply); void usage(void) { - fprintf(stderr,"usage: %s [-ablmPSsvz] [-f sockname]" - " [-C | -A | -L | -H]\n", __progname); + fprintf(stderr,"usage: %s [-AabCHLlmPSsvz] [-f sockname]\n", + __progname); exit(1); } @@ -86,7 +86,7 @@ send_command(int fd, struct apm_command *cmd, struct apm_reply *reply) warn("invalid send to APM daemon"); return (1); } - return 0; + return (0); } int @@ -130,7 +130,7 @@ open_socket(const char *sockname) errno = errr; err(1, "cannot open connection to APM daemon"); } - return sock; + return (sock); } int |