From: Jim Meyering Date: Tue, 8 Jun 2004 07:13:10 +0000 (+0000) Subject: (main): Fix typo introduced on 2003-05-10 that X-Git-Tag: v5.3.0~1384 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=24df65c2873eafc208472381a484814d3b1e61c7;p=thirdparty%2Fcoreutils.git (main): Fix typo introduced on 2003-05-10 that prevented a diagnostic of any operands. --- diff --git a/src/uname.c b/src/uname.c index 335061d213..4edd4e0111 100644 --- a/src/uname.c +++ b/src/uname.c @@ -210,7 +210,7 @@ main (int argc, char **argv) } } - if (argc < optind) + if (argc != optind) { error (0, 0, _("too many arguments")); usage (EXIT_FAILURE);