summaryrefslogtreecommitdiff
path: root/src/uname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-06-08 07:13:10 +0000
committerJim Meyering <jim@meyering.net>2004-06-08 07:13:10 +0000
commit24df65c2873eafc208472381a484814d3b1e61c7 (patch)
treef041555f06a981a41a7726f86ed6fd804d045236 /src/uname.c
parent069bf2f43cc1e35a38442091ceda55a60d1716a0 (diff)
downloadcoreutils-24df65c2873eafc208472381a484814d3b1e61c7.tar.gz
coreutils-24df65c2873eafc208472381a484814d3b1e61c7.tar.bz2
coreutils-24df65c2873eafc208472381a484814d3b1e61c7.zip
(main): Fix typo introduced on 2003-05-10 that
prevented a diagnostic of any operands.
Diffstat (limited to 'src/uname.c')
-rw-r--r--src/uname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uname.c b/src/uname.c
index 335061d21..4edd4e011 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);