From 622816d41a50c59640be9470a31b902b412e94be Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 25 Mar 2005 20:59:48 +0000 Subject: (main): Update use of DECIMAL_DIGIT_ACCUMULATE. --- src/split.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/split.c') 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, -- cgit v1.2.3-54-g00ecf