summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectFile.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectFile.cpp b/lldb/source/Commands/CommandObjectFile.cpp
index fa62bad6ac2..2c8d561ce6a 100644
--- a/lldb/source/Commands/CommandObjectFile.cpp
+++ b/lldb/source/Commands/CommandObjectFile.cpp
@@ -62,7 +62,7 @@ CommandObjectFile::CommandOptions::SetOptionValue (int option_idx, const char *o
if (option_arch.IsValid())
m_arch = option_arch;
else
- error.SetErrorStringWithFormat ("Invalid arch string '%s'.\n", optarg);
+ error.SetErrorStringWithFormat ("Invalid arch string '%s'.\n", option_arg);
}
break;
OpenPOWER on IntegriCloud