Revision 84a12e66 block/raw-win32.c

b/block/raw-win32.c
238 238
    { NULL }
239 239
};
240 240

  
241
static BlockDriver bdrv_raw = {
242
    .format_name	= "raw",
241
static BlockDriver bdrv_file = {
242
    .format_name	= "file",
243
    .protocol_name	= "file",
243 244
    .instance_size	= sizeof(BDRVRawState),
244 245
    .bdrv_open		= raw_open,
245 246
    .bdrv_close		= raw_close,
......
395 396

  
396 397
static BlockDriver bdrv_host_device = {
397 398
    .format_name	= "host_device",
399
    .protocol_name	= "host_device",
398 400
    .instance_size	= sizeof(BDRVRawState),
399 401
    .bdrv_probe_device	= hdev_probe_device,
400 402
    .bdrv_open		= hdev_open,
......
406 408
    .bdrv_getlength	= raw_getlength,
407 409
};
408 410

  
409
static void bdrv_raw_init(void)
411
static void bdrv_file_init(void)
410 412
{
411
    bdrv_register(&bdrv_raw);
413
    bdrv_register(&bdrv_file);
412 414
    bdrv_register(&bdrv_host_device);
413 415
}
414 416

  
415
block_init(bdrv_raw_init);
417
block_init(bdrv_file_init);

Also available in: Unified diff