diff options
Diffstat (limited to 'qemu-option.c')
-rw-r--r-- | qemu-option.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-option.c b/qemu-option.c index 73c2175492..591d178999 100644 --- a/qemu-option.c +++ b/qemu-option.c @@ -193,6 +193,7 @@ static int parse_option_number(const char *name, const char *value, uint64_t *re fprintf(stderr, "Option '%s' needs a number as parameter\n", name); return -1; } + *ret = number; } else { fprintf(stderr, "Option '%s' needs a parameter\n", name); return -1; |