Revision 5afc8b3d qemu-io.c

b/qemu-io.c
449 449
        return 0;
450 450
    }
451 451

  
452
    if (!pflag)
452
    if (!pflag) {
453 453
        if (offset & 0x1ff) {
454 454
            printf("offset %" PRId64 " is not sector aligned\n",
455 455
                   offset);
......
460 460
                   count);
461 461
            return 0;
462 462
        }
463
    }
463 464

  
464 465
    buf = qemu_io_alloc(count, 0xab);
465 466

  

Also available in: Unified diff