From dca03cde9491383dc5bfd02f0bfb7bb317b5eea9 Mon Sep 17 00:00:00 2001 From: slack Date: Wed, 1 Oct 2008 12:09:53 +0200 Subject: [PATCH] fix typo in wendi.cc --- wendi/wendi.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wendi/wendi.cc b/wendi/wendi.cc index 7d1d2eb..80a1191 100644 --- a/wendi/wendi.cc +++ b/wendi/wendi.cc @@ -369,8 +369,8 @@ int main(int argc, char **argv) std::sort(tmp.begin(), tmp.end()); std::for_each(tmp.begin(), tmp.end(), classify_block); - std::ofstream graph_stream((std::string(argv[2])+".dot").c_str()); - std::ofstream txt_stream((std::string(argv[2])+".txt").c_str()); + std::ofstream graph_stream((std::string(argv[1])+".dot").c_str()); + std::ofstream txt_stream((std::string(argv[1])+".txt").c_str()); GraphDisassemblyOutput graph(graph_stream); TextDisassemblyOutput text(txt_stream); -- 2.34.1