Index: generate_delta_main.cc |
diff --git a/generate_delta_main.cc b/generate_delta_main.cc |
index 39a0e08728ec5632a73dca19a34b6ece0e172774..6e9e5530b1f0ac650fcc93f4a0a18aaf71e7b9f5 100644 |
--- a/generate_delta_main.cc |
+++ b/generate_delta_main.cc |
@@ -90,8 +90,8 @@ int Main(int argc, char** argv) { |
vector<char> root_hash(root_info.hash().begin(), |
root_info.hash().end()); |
DeltaPerformer performer(&prefs); |
- performer.set_current_kernel_hash(&kern_hash); |
- performer.set_current_rootfs_hash(&root_hash); |
+ performer.set_current_kernel_hash(kern_hash); |
+ performer.set_current_rootfs_hash(root_hash); |
CHECK_EQ(performer.Open(FLAGS_old_image.c_str(), 0, 0), 0); |
CHECK(performer.OpenKernel(FLAGS_old_kernel.c_str())); |
vector<char> buf(1024 * 1024); |