diff options
Diffstat (limited to 'block/null.c')
-rw-r--r-- | block/null.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/null.c b/block/null.c index b300390944..876f90965b 100644 --- a/block/null.c +++ b/block/null.c @@ -232,7 +232,7 @@ static void null_refresh_filename(BlockDriverState *bs, QDict *opts) bs->drv->format_name); } - qdict_put(opts, "driver", qstring_from_str(bs->drv->format_name)); + qdict_put_str(opts, "driver", bs->drv->format_name); bs->full_open_options = opts; } |