From 31d406e979d057f73f15768c7cfa592f8ce6993e Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 13 Aug 1996 07:12:13 +0000 Subject: arg is set later --- sbin/slattach/slattach.c | 6 +++--- 1 file 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; -- cgit v1.2.3