summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--regressions/rhbz557655-expected.stderr8
-rwxr-xr-xsrc/generator.ml2
2 files changed, 5 insertions, 5 deletions
diff --git a/regressions/rhbz557655-expected.stderr b/regressions/rhbz557655-expected.stderr
index ea560e83..c8e02f56 100644
--- a/regressions/rhbz557655-expected.stderr
+++ b/regressions/rhbz557655-expected.stderr
@@ -2,10 +2,10 @@ set-memsize: memsize: integer out of range
set-memsize: memsize: integer out of range
set-memsize: memsize: integer out of range
set-memsize: memsize: integer out of range
-set-memsize: memsize: invalid integer parameter (xstrtol returned 4)
-set-memsize: memsize: invalid integer parameter (xstrtol returned 2)
-set-memsize: memsize: invalid integer parameter (xstrtol returned 2)
-set-memsize: memsize: invalid integer parameter (xstrtol returned 2)
+set-memsize: memsize: invalid integer parameter (xstrtoll returned 4)
+set-memsize: memsize: invalid integer parameter (xstrtoll returned 2)
+set-memsize: memsize: invalid integer parameter (xstrtoll returned 2)
+set-memsize: memsize: invalid integer parameter (xstrtoll returned 2)
libguestfs: error: truncate_size: ftruncate: /test: File too large
truncate-size: size: invalid integer parameter (xstrtoll returned 1)
truncate-size: size: invalid integer parameter (xstrtoll returned 4)
diff --git a/src/generator.ml b/src/generator.ml
index 96b5b701..fab2173d 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -7221,7 +7221,7 @@ and generate_fish_cmds () =
and comment =
"The Int type in the generator is a signed 31 bit int." in
Some (min, max, comment) in
- parse_integer "xstrtol" "long" "int" range name i
+ parse_integer "xstrtoll" "long long" "int" range name i
| Int64 name ->
parse_integer "xstrtoll" "long long" "int64_t" None name i
) (snd style);