summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-01-26 04:52:32 +0000
committerJim Meyering <jim@meyering.net>1997-01-26 04:52:32 +0000
commita95088a5eaafde7f394c2a51e58289c236da5a15 (patch)
treeda0089e762ceaf8cbe685c419893996b9e38866d /src
parentfb43ebcbaead0d6fe3ff1db4c9ad177fe0af4a32 (diff)
downloadcoreutils-a95088a5eaafde7f394c2a51e58289c236da5a15.tar.xz
(print_factors): Reflect changes to xstrtoul interface.
Diffstat (limited to 'src')
-rw-r--r--src/factor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factor.c b/src/factor.c
index 1fd0f65d8..673590338 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -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;