]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(print_factors): Reflect changes to xstrtoul interface.
authorJim Meyering <jim@meyering.net>
Sun, 26 Jan 1997 04:52:32 +0000 (04:52 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 26 Jan 1997 04:52:32 +0000 (04:52 +0000)
src/factor.c

index 1fd0f65d8da7f2abea0d7a851190787e6026c557..6735903382ec0d2c9fe197c00b45e661e6d78221 100644 (file)
@@ -136,7 +136,7 @@ print_factors (const char *s)
   int n_factors;
   int i;
 
-  if (xstrtoul (s, NULL, 10, &n, NULL) != LONGINT_OK)
+  if (xstrtoul (s, NULL, 10, &n, "") != LONGINT_OK)
     {
       error (0, 0, _("`%s' is not a valid positive integer"), s);
       return 1;