diff options
author | Mark Wielaard <mjw@redhat.com> | 2008-10-04 00:11:52 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2008-10-04 00:11:52 +0200 |
commit | 0efe0e840c3069f29b7dfb45fc1c4ee118fe473c (patch) | |
tree | 2e996d7302c6569fdafe7a02544fccd5a294bb1c /runtime | |
parent | e680089c477ee4b1dbc1bd64b7f2cb6eac61adfc (diff) | |
download | systemtap-steved-0efe0e840c3069f29b7dfb45fc1c4ee118fe473c.tar.gz systemtap-steved-0efe0e840c3069f29b7dfb45fc1c4ee118fe473c.tar.xz systemtap-steved-0efe0e840c3069f29b7dfb45fc1c4ee118fe473c.zip |
Remove debug output from warning in procfs.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/ChangeLog | 4 | ||||
-rw-r--r-- | runtime/procfs.c | 4 |
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; } |