Revision 6e9ea0c0 qemu-img.c

b/qemu-img.c
306 306
    if (ret < 0) {
307 307
        if (ret == -ENOTSUP) {
308 308
            error("Formatting or formatting option not supported for file format '%s'", fmt);
309
        } else if (ret == -EFBIG) {
310
            error("The image size is too large for file format '%s'", fmt);
309 311
        } else {
310 312
            error("Error while formatting");
311 313
        }
......
494 496
    if (ret < 0) {
495 497
        if (ret == -ENOTSUP) {
496 498
            error("Formatting not supported for file format '%s'", out_fmt);
499
        } else if (ret == -EFBIG) {
500
            error("The image size is too large for file format '%s'", out_fmt);
497 501
        } else {
498 502
            error("Error while formatting '%s'", out_filename);
499 503
        }

Also available in: Unified diff