diff options
Diffstat (limited to 'block/bochs.c')
-rw-r--r-- | block/bochs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bochs.c b/block/bochs.c index 4194f1dd50..6427ad4fa2 100644 --- a/block/bochs.c +++ b/block/bochs.c @@ -104,7 +104,7 @@ static int bochs_open(BlockDriverState *bs, QDict *options, int flags, struct bochs_header bochs; int ret; - bs->read_only = 1; // no write support yet + bs->read_only = true; /* no write support yet */ ret = bdrv_pread(bs->file->bs, 0, &bochs, sizeof(bochs)); if (ret < 0) { |