summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/show.cc b/kernel/show.cc
index 942f5b26..6ecdc99c 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");