Revision 3df04ac3 qemu-config.c
b/qemu-config.c | ||
---|---|---|
186 | 186 |
return -1; |
187 | 187 |
} |
188 | 188 |
|
189 |
if (-1 == qemu_opt_set(opts, arg, str+offset+1)) {
|
|
189 |
if (qemu_opt_set(opts, arg, str+offset+1) == -1) {
|
|
190 | 190 |
fprintf(stderr, "failed to set \"%s\" for %s \"%s\"\n", |
191 | 191 |
arg, lists[i]->name, id); |
192 | 192 |
return -1; |
Also available in: Unified diff