From 413769599efaa9488cb5198dd5de32b582806467 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 19 Feb 2021 16:49:07 +0100 Subject: Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- vtchs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vtchs.c') diff --git a/vtchs.c b/vtchs.c index b2e67e0..6fd960d 100644 --- a/vtchs.c +++ b/vtchs.c @@ -27,7 +27,7 @@ main(int argc, char *argv[]) struct vt_stat s; argv0 = *argv++, argc--; - if (argc != (*argv && !strcmp(*argv, "=="))) { + if (argc != (*argv && !strcmp(*argv, "--"))) { fprintf(stderr, "usage: %s\n", argv0); exit(1); } -- cgit v1.2.3-70-g09d2