From e1a80b356e3af1ecd1cdb796ecb0ce2773dbd003 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 24 Mar 2013 15:21:57 +0100 Subject: [PATCH] Fixed handling of show -viewer --- kernel/show.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.30.2