diff options
| author | thorpej <thorpej@NetBSD.org> | 1997-11-17 23:15:12 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 1997-11-17 23:15:12 +0000 |
| commit | 8bbdb3ebcb0622179a5642eb7ae2ea4fb4356813 (patch) | |
| tree | 830c7525221c7dffd775e3add7c933c59fc38d15 /sbin/slattach | |
| parent | 22284276e83c9cbde41a7dbf12a39a35c319c591 (diff) | |
Cosmetic changes.
Diffstat (limited to 'sbin/slattach')
| -rw-r--r-- | sbin/slattach/slattach.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/slattach/slattach.c b/sbin/slattach/slattach.c index 3ecf6009405..915f89bd8a3 100644 --- a/sbin/slattach/slattach.c +++ b/sbin/slattach/slattach.c @@ -1,4 +1,4 @@ -/* $NetBSD: slattach.c,v 1.19 1997/10/20 08:08:20 scottr Exp $ */ +/* $NetBSD: slattach.c,v 1.20 1997/11/17 23:15:12 thorpej Exp $ */ /* * Copyright (c) 1988, 1993 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\ #if 0 static char sccsid[] = "@(#)slattach.c 8.2 (Berkeley) 1/7/94"; #else -__RCSID("$NetBSD: slattach.c,v 1.19 1997/10/20 08:08:20 scottr Exp $"); +__RCSID("$NetBSD: slattach.c,v 1.20 1997/11/17 23:15:12 thorpej Exp $"); #endif #endif /* not lint */ @@ -169,8 +169,10 @@ ttydisc(name) void usage() { + extern char *__progname; (void)fprintf(stderr, - "usage: slattach [-t ldisc] [-hm] [-s baudrate] ttyname\n"); + "usage: %s [-t ldisc] [-hm] [-s baudrate] ttyname\n", + __progname); exit(1); } |
