rbd: fix copy-pasted snap remove error message

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
Josh Durgin 2012-07-17 16:19:17 -07:00
parent ea75d1ff62
commit ff2a96c7c7

View File

@ -1417,7 +1417,7 @@ int main(int argc, const char **argv)
}
r = do_remove_snap(image, snapname);
if (r < 0) {
cerr << "rollback failed: " << cpp_strerror(-r) << std::endl;
cerr << "failed to remove snapshot: " << cpp_strerror(-r) << std::endl;
exit(1);
}
break;