From e6dca3445a67d3d3cfacd85684e05b3f5722af46 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 15 Apr 2013 11:59:35 +0200 Subject: [PATCH] Fixed "show -format ..." command line parsing --- kernel/show.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/show.cc b/kernel/show.cc index 572ba5896..fd703dd53 100644 --- a/kernel/show.cc +++ b/kernel/show.cc @@ -520,7 +520,7 @@ struct ShowPass : public Pass { continue; } if (arg == "-format" && argidx+1 < args.size()) { - format = atoi(args[++argidx].c_str()); + format = args[++argidx]; continue; } if (arg == "-width") { -- 2.30.2