diff options
author | Jim Meyering <jim@meyering.net> | 2005-03-25 20:59:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-03-25 20:59:48 +0000 |
commit | 622816d41a50c59640be9470a31b902b412e94be (patch) | |
tree | 413b17faeef63b5259e44cabbc585bb6e8d4c606 /src/uniq.c | |
parent | 3bf2d948e7e6db70652fbb059d3b136d1f737717 (diff) | |
download | coreutils-622816d41a50c59640be9470a31b902b412e94be.tar.xz |
(main): Update use of DECIMAL_DIGIT_ACCUMULATE.
Diffstat (limited to 'src/uniq.c')
-rw-r--r-- | src/uniq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uniq.c b/src/uniq.c index c3421aa40..736c2813e 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -490,7 +490,7 @@ main (int argc, char **argv) if (skip_field_option_type == SFO_NEW) skip_fields = 0; - if (DECIMAL_DIGIT_ACCUMULATE (skip_fields, optc - '0', SIZE_MAX)) + if (!DECIMAL_DIGIT_ACCUMULATE (skip_fields, optc - '0', SIZE_MAX)) error (EXIT_FAILURE, 0, "%s", _("invalid number of fields to skip")); skip_field_option_type = SFO_OBSOLETE; |