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/split.c | |
parent | 3bf2d948e7e6db70652fbb059d3b136d1f737717 (diff) | |
download | coreutils-622816d41a50c59640be9470a31b902b412e94be.tar.xz |
(main): Update use of DECIMAL_DIGIT_ACCUMULATE.
Diffstat (limited to 'src/split.c')
-rw-r--r-- | src/split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/split.c b/src/split.c index 013a9f1ea..32f90a372 100644 --- a/src/split.c +++ b/src/split.c @@ -481,7 +481,7 @@ main (int argc, char **argv) if (digits_optind != 0 && digits_optind != this_optind) n_units = 0; /* More than one number given; ignore other. */ digits_optind = this_optind; - if (DECIMAL_DIGIT_ACCUMULATE (n_units, c - '0', UINTMAX_MAX)) + if (!DECIMAL_DIGIT_ACCUMULATE (n_units, c - '0', UINTMAX_MAX)) { char buffer[INT_BUFSIZE_BOUND (uintmax_t)]; error (EXIT_FAILURE, 0, |