summaryrefslogtreecommitdiffstats
path: root/runtime/transport/procfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/transport/procfs.c')
-rw-r--r--runtime/transport/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/transport/procfs.c b/runtime/transport/procfs.c
index c6e3f46a..36920707 100644
--- a/runtime/transport/procfs.c
+++ b/runtime/transport/procfs.c
@@ -406,7 +406,7 @@ err1:
for_each_cpu(j) {
if (j == i)
break;
- sprintf(buf, "%d", i);
+ sprintf(buf, "%d", j);
remove_proc_entry (buf, _stp_proc_mod);
}