]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/rbd: fix a wrong value setting for format_specified
authorDongsheng Yang <dongsheng.yang@easystack.cn>
Thu, 2 Jun 2016 07:49:42 +0000 (03:49 -0400)
committerDongsheng Yang <dongsheng.yang@easystack.cn>
Tue, 21 Jun 2016 01:36:17 +0000 (21:36 -0400)
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
src/tools/rbd/Utils.cc

index 6575e4ec5e9489d985263c7115ae17a820961de7..92ca721a991e0933f0e47fe68ac5841f434bef07 100644 (file)
@@ -517,7 +517,7 @@ int get_image_options(const boost::program_options::variables_map &vm,
         return -EINVAL;
       } else {
         format = 2;
-        format_specified = 2;
+        format_specified = true;
       }
     }