summaryrefslogtreecommitdiff
path: root/kernel/show.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-04-15 11:59:35 +0200
committerClifford Wolf <clifford@clifford.at>2013-04-15 11:59:35 +0200
commite6dca3445a67d3d3cfacd85684e05b3f5722af46 (patch)
tree494b0f6b989a7d5a1ab51dc6c67fceac024a3e62 /kernel/show.cc
parent6626aad29a75cc9e14507f235d555d17a8d96cfc (diff)
Fixed "show -format ..." command line parsing
Diffstat (limited to 'kernel/show.cc')
-rw-r--r--kernel/show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/show.cc b/kernel/show.cc
index 572ba589..fd703dd5 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") {