diff options
author | charnier <charnier@FreeBSD.org> | 1997-07-21 12:01:47 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-07-21 12:01:47 +0000 |
commit | 6fc33a9dac1b111924ffab8c40d92bdd6f641583 (patch) | |
tree | 44c5fc3f97013ac0218856a834cb201801a05f5a /usr.bin/lastcomm/lastcomm.c | |
parent | e7e1e6ffbe6356833e14fa21067b959608f5f632 (diff) | |
download | FreeBSD-src-6fc33a9dac1b111924ffab8c40d92bdd6f641583.zip FreeBSD-src-6fc33a9dac1b111924ffab8c40d92bdd6f641583.tar.gz |
Cosmetic in usage string.
Diffstat (limited to 'usr.bin/lastcomm/lastcomm.c')
-rw-r--r-- | usr.bin/lastcomm/lastcomm.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/lastcomm/lastcomm.c b/usr.bin/lastcomm/lastcomm.c index 6d7b034..64aae8f 100644 --- a/usr.bin/lastcomm/lastcomm.c +++ b/usr.bin/lastcomm/lastcomm.c @@ -29,8 +29,6 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id: lastcomm.c,v 1.7 1997/03/29 04:30:24 imp Exp $ */ #ifndef lint @@ -40,7 +38,11 @@ static char copyright[] = #endif /* not lint */ #ifndef lint +#if 0 static char sccsid[] = "@(#)lastcomm.c 8.1 (Berkeley) 6/6/93"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> @@ -62,7 +64,7 @@ time_t expand __P((u_int)); char *flagbits __P((int)); char *getdev __P((dev_t)); int requested __P((char *[], struct acct *)); -void usage __P((void)); +static void usage __P((void)); char *user_from_uid(); #define AC_UTIME 1 /* user */ @@ -291,10 +293,10 @@ getdev(dev) return (lastname); } -void +static void usage() { (void)fprintf(stderr, - "lastcomm [-EScesu] [ -f file ] [command ...] [user ...] [tty ...]\n"); +"usage: lastcomm [-EScesu] [ -f file ] [command ...] [user ...] [tty ...]\n"); exit(1); } |