summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/ChangeLog4
-rw-r--r--runtime/procfs.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index 5abe011d..44147429 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,5 +1,9 @@
2008-10-03 Mark Wielaard <mjw@redhat.com>
+ * procfs.c (_stp_rmdir_proc_module): Remove debug output from warning.
+
+2008-10-03 Mark Wielaard <mjw@redhat.com>
+
* procfs.c (_stp_rmdir_proc_module): Usage count warning
depends on kernel version.
diff --git a/runtime/procfs.c b/runtime/procfs.c
index 8aeda14c..0fe22aba 100644
--- a/runtime/procfs.c
+++ b/runtime/procfs.c
@@ -38,8 +38,8 @@ void _stp_rmdir_proc_module(void)
{
if (_stp_proc_root && _stp_proc_root->subdir == NULL) {
if (atomic_read(&_stp_proc_root->count) != LAST_ENTRY_COUNT)
- _stp_warn("(%d,%d)Removal of /proc/systemtap/%s\nis deferred until it is no longer in use.\n"
- "Systemtap module removal will block.\n", atomic_read(&_stp_proc_root->count), LAST_ENTRY_COUNT, THIS_MODULE->name);
+ _stp_warn("Removal of /proc/systemtap/%s\nis deferred until it is no longer in use.\n"
+ "Systemtap module removal will block.\n", THIS_MODULE->name);
remove_proc_entry(THIS_MODULE->name, _stp_proc_stap);
_stp_proc_root = NULL;
}