summaryrefslogtreecommitdiffstats
path: root/runtime/time.c
diff options
context:
space:
mode:
authorfche <fche>2007-03-12 17:15:30 +0000
committerfche <fche>2007-03-12 17:15:30 +0000
commitcb43d90b37a7f9a066d56881b87067ef3254d95d (patch)
treebe93238d792dee6c1c1bf0f02a397cb8e48e984b /runtime/time.c
parent9b2f2790c0656bfa7cb7e1b4c09391a9e751d079 (diff)
downloadsystemtap-steved-cb43d90b37a7f9a066d56881b87067ef3254d95d.tar.gz
systemtap-steved-cb43d90b37a7f9a066d56881b87067ef3254d95d.tar.xz
systemtap-steved-cb43d90b37a7f9a066d56881b87067ef3254d95d.zip
2007-03-12 Frank Ch. Eigler <fche@redhat.com>
PR 4179. Based on patch from Vasily Averin <vvs@sw.ru>: * time.c (_stp_init_time): Recover from partial failures. 2007-03-12 Frank Ch. Eigler <fche@redhat.com> PR 4179. Based on patch from Vasily Averin <vvs@sw.ru>: * procfs.c (_stp_register_procfs): Recover from partial failures. * transport.c (_stp_transport_open): Ditto.
Diffstat (limited to 'runtime/time.c')
-rw-r--r--runtime/time.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/time.c b/runtime/time.c
index 7f9b5ffa..657b5e8c 100644
--- a/runtime/time.c
+++ b/runtime/time.c
@@ -212,7 +212,8 @@ _stp_init_time(void)
}
}
#endif
-
+ if (ret)
+ _stp_kill_time();
return ret;
}