diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-13 07:12:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-13 07:12:13 +0000 |
commit | 31d406e979d057f73f15768c7cfa592f8ce6993e (patch) | |
tree | 305f3d319fe667c84257f3a81d8d7c36fe14e5a2 | |
parent | a8c8f36e1ccb5a67d1d35d0dc47b6d56b7a8299a (diff) |
arg is set later
-rw-r--r-- | sbin/slattach/slattach.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/slattach/slattach.c b/sbin/slattach/slattach.c index e406cf8b50d..30259d06fbe 100644 --- a/sbin/slattach/slattach.c +++ b/sbin/slattach/slattach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: slattach.c,v 1.3 1996/06/23 14:32:44 deraadt Exp $ */ +/* $OpenBSD: slattach.c,v 1.4 1996/08/13 07:12:12 deraadt Exp $ */ /* $NetBSD: slattach.c,v 1.17 1996/05/19 21:57:39 jonathan Exp $ */ /* @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)slattach.c 8.2 (Berkeley) 1/7/94"; #else -static char rcsid[] = "$OpenBSD: slattach.c,v 1.3 1996/06/23 14:32:44 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: slattach.c,v 1.4 1996/08/13 07:12:12 deraadt Exp $"; #endif #endif /* not lint */ @@ -86,7 +86,7 @@ main(argc, argv) char *argv[]; { register int fd; - register char *dev = argv[1]; + register char *dev; struct termios tty; tcflag_t cflag = HUPCL; int ch; |