summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-08-12 18:10:54 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2008-08-12 18:10:54 -0300
commitca8460429e8b65e4449d5e4f4e63bd96af890f30 (patch)
treeccf96184cc14108f28cd8a57f67fafcafa5d4f3d
parent422b71de1788636331c395fbac1de4de33175599 (diff)
downloadtuna-ca8460429e8b65e4449d5e4f4e63bd96af890f30.tar.gz
tuna: Fixup the message about what filename was really used (rtgroups)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tuna/tuna_gui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tuna/tuna_gui.py b/tuna/tuna_gui.py
index af843da..947da71 100644
--- a/tuna/tuna_gui.py
+++ b/tuna/tuna_gui.py
@@ -1163,14 +1163,14 @@ class procview:
response = dialog.run()
dialog.destroy()
if response == gtk.RESPONSE_YES:
- tuna.generate_rtgroups("/etc/rtgroups",
- kthreads, self.nr_cpus)
+ filename = "/etc/rtgroups"
+ tuna.generate_rtgroups(filename, kthreads, self.nr_cpus)
dialog = gtk.MessageDialog(None,
gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
gtk.MESSAGE_INFO,
gtk.BUTTONS_OK,
- "Kernel thread tunings saved to /etc/rtgroups!")
+ "Kernel thread tunings saved to %s!" % filename)
dialog.run()
dialog.destroy()