summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--light/2.0-aw2013/service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/light/2.0-aw2013/service.cpp b/light/2.0-aw2013/service.cpp
index ff96560..2fde04c 100644
--- a/light/2.0-aw2013/service.cpp
+++ b/light/2.0-aw2013/service.cpp
@@ -117,7 +117,7 @@ int main() {
}
std::ofstream blueLedTime(kBlueLedTimePath);
- if (!blueBlink) {
+ if (!blueLedTime) {
LOG(ERROR) << "Failed to open " << kBlueLedTimePath << ", error=" << errno
<< " (" << strerror(errno) << ")";
}