Index: syzygy/runlaa/runlaa_app.cc |
diff --git a/syzygy/runlaa/runlaa_app.cc b/syzygy/runlaa/runlaa_app.cc |
index a4a085a293ad67bd50bea9955002a102fadf95f5..b610b3d2c08efe706ba8f4cecabfd30c991b523e 100644 |
--- a/syzygy/runlaa/runlaa_app.cc |
+++ b/syzygy/runlaa/runlaa_app.cc |
@@ -189,15 +189,15 @@ int RunLaaApp::Run() { |
return 1; |
} |
- bool is_laa = false; |
- if (!GetLaaBit(image_, &is_laa)) |
+ bool was_laa = false; |
+ if (!GetLaaBit(image_, &was_laa)) |
return 1; |
base::ScopedTempDir scoped_temp_dir; |
base::FilePath child_image(image_); |
bool toggle_back = false; |
- if (is_laa == is_laa_) { |
+ if (was_laa == is_laa_) { |
LOG(INFO) << "Image already in desired mode, running directly."; |
} else { |
// The image is not in the desired mode. It needs to be toggled. |
@@ -218,8 +218,7 @@ int RunLaaApp::Run() { |
toggle_back = true; |
} else { |
// The work is not to happen in place. Create a temp directory and copy |
- // the |
- // image. |
+ // the image. |
if (!scoped_temp_dir.CreateUniqueTempDir()) { |
LOG(ERROR) << "Failed to create temp directory."; |
return 1; |