aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-03-24 15:21:57 +0100
committerClifford Wolf <clifford@clifford.at>2013-03-24 15:21:57 +0100
commite1a80b356e3af1ecd1cdb796ecb0ce2773dbd003 (patch)
treee9cee13d974e8c6b7f20ee951d1921dd7aa432b5 /kernel
parent2887e4305f7ac07f513f26f2cc44582f09e2783b (diff)
downloadyosys-e1a80b356e3af1ecd1cdb796ecb0ce2773dbd003.tar.gz
yosys-e1a80b356e3af1ecd1cdb796ecb0ce2773dbd003.tar.bz2
yosys-e1a80b356e3af1ecd1cdb796ecb0ce2773dbd003.zip
Fixed handling of show -viewer
Diffstat (limited to 'kernel')
-rw-r--r--kernel/show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/show.cc b/kernel/show.cc
index 942f5b264..6ecdc99cb 100644
--- a/kernel/show.cc
+++ b/kernel/show.cc
@@ -474,7 +474,7 @@ struct ShowPass : public Pass {
log_cmd_error("Shell command failed!\n");
if (!viewer_exe.empty()) {
- cmd = stringf("%s '%s' &", viewer_exe.c_str(), dot_file.c_str());
+ cmd = stringf("%s '%s' &", viewer_exe.c_str(), ps_file.c_str());
log("Exec: %s\n", cmd.c_str());
if (system(cmd.c_str()) != 0)
log_cmd_error("Shell command failed!\n");