diff --git a/usr.sbin/sti/sti.c b/usr.sbin/sti/sti.c index b32fa51762bb..7441bedb6696 100644 --- a/usr.sbin/sti/sti.c +++ b/usr.sbin/sti/sti.c @@ -1,4 +1,4 @@ -/* $NetBSD: sti.c,v 1.5 2005/11/10 19:11:48 christos Exp $ */ +/* $NetBSD: sti.c,v 1.6 2005/11/11 15:08:40 peter Exp $ */ /*- * Copyright (c) 2005 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__RCSID("$NetBSD: sti.c,v 1.5 2005/11/10 19:11:48 christos Exp $"); +__RCSID("$NetBSD: sti.c,v 1.6 2005/11/11 15:08:40 peter Exp $"); #include #include @@ -107,7 +107,7 @@ main(int argc, char *argv[]) setprogname(*argv); - if (argc < 1) { + if (argc < 2) { (void)fprintf(stderr, "Usage: %s [arg ...]\n", getprogname()); return 1;