summaryrefslogtreecommitdiffstats
path: root/readeeprom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'readeeprom.cpp')
-rw-r--r--readeeprom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/readeeprom.cpp b/readeeprom.cpp
index 1b47cb8..ef7e559 100644
--- a/readeeprom.cpp
+++ b/readeeprom.cpp
@@ -34,7 +34,7 @@ int main(int argc, char **argv)
}
auto fruid_str = (*cli_options)["fruid"];
- if (eeprom_file == ArgumentParser::empty_string)
+ if (fruid_str == ArgumentParser::empty_string)
{
// User has not passed in the appropriate argument value
exit_with_error("fruid data not found.", argv);
OpenPOWER on IntegriCloud