]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
storage_backend_rbd: fix typos
authorChen Hanxiao <chenhanxiao@gmail.com>
Wed, 24 Aug 2016 07:25:49 +0000 (15:25 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 24 Aug 2016 19:25:17 +0000 (21:25 +0200)
s/failed/failed to

Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
src/storage/storage_backend_rbd.c

index 9665fbca3a18fbfc7e4caec3ee8e991e13513275..4dd4b24f66b426881a0d8df3bc8b8b80dbda843b 100644 (file)
@@ -894,7 +894,7 @@ virStorageBackendRBDSnapshotProtect(rbd_image_t image,
     VIR_DEBUG("Querying if RBD snapshot %s@%s is protected", imgname, snapname);
 
     if ((r = rbd_snap_is_protected(image, snapname, &protected)) < 0) {
-        virReportSystemError(-r, _("failed verify if RBD snapshot %s@%s "
+        virReportSystemError(-r, _("failed to verify if RBD snapshot %s@%s "
                                    "is protected"), imgname, snapname);
         goto cleanup;
     }
@@ -904,7 +904,7 @@ virStorageBackendRBDSnapshotProtect(rbd_image_t image,
                   imgname, snapname);
 
         if ((r = rbd_snap_protect(image, snapname)) < 0) {
-            virReportSystemError(-r, _("failed protect RBD snapshot %s@%s"),
+            virReportSystemError(-r, _("failed to protect RBD snapshot %s@%s"),
                                        imgname, snapname);
             goto cleanup;
         }