Diff for /qemu/qemu-img.c between versions 1.1.1.6 and 1.1.1.7

version 1.1.1.6, 2018/04/24 16:56:40 version 1.1.1.7, 2018/04/24 17:06:52
Line 290  static int img_create(int argc, char **a Line 290  static int img_create(int argc, char **a
     if (ret < 0) {      if (ret < 0) {
         if (ret == -ENOTSUP) {          if (ret == -ENOTSUP) {
             error("Formatting or formatting option not supported for file format '%s'", fmt);              error("Formatting or formatting option not supported for file format '%s'", fmt);
           } else if (ret == -EFBIG) {
               error("The image size is too large for file format '%s'", fmt);
         } else {          } else {
             error("Error while formatting");              error("Error while formatting");
         }          }
Line 477  static int img_convert(int argc, char ** Line 479  static int img_convert(int argc, char **
     ret = bdrv_create(drv, out_filename, total_sectors, out_baseimg, flags);      ret = bdrv_create(drv, out_filename, total_sectors, out_baseimg, flags);
     if (ret < 0) {      if (ret < 0) {
         if (ret == -ENOTSUP) {          if (ret == -ENOTSUP) {
             error("Formatting not supported for file format '%s'", fmt);              error("Formatting not supported for file format '%s'", out_fmt);
           } else if (ret == -EFBIG) {
               error("The image size is too large for file format '%s'", out_fmt);
         } else {          } else {
             error("Error while formatting '%s'", out_filename);              error("Error while formatting '%s'", out_filename);
         }          }

Removed from v.1.1.1.6  
changed lines
  Added in v.1.1.1.7


unix.superglobalmegacorp.com