projects
/
ust.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08b070d
)
Fix a minor ugliness
author
Nils Carlson
<nils.carlson@ericsson.com>
Fri, 14 Jan 2011 21:08:59 +0000
(22:08 +0100)
committer
Nils Carlson
<nils.carlson@ericsson.com>
Fri, 14 Jan 2011 21:08:59 +0000
(22:08 +0100)
Variable was defined in middle of a block
libust/tracectl.c
patch
|
blob
|
blame
|
history
diff --git
a/libust/tracectl.c
b/libust/tracectl.c
index b73fa7cdf88f05fa106dc8ba01b5b6f9cfa9ce19..e877e6289f7ef0e32ca88c6ab595f7117a81298b 100644
(file)
--- a/
libust/tracectl.c
+++ b/
libust/tracectl.c
@@
-1232,6
+1232,7
@@
free_name:
static void __attribute__((constructor)) init()
{
+ struct timespec ts;
int result;
char* autoprobe_val = NULL;
char* subbuffer_size_val = NULL;
@@
-1266,7
+1267,7
@@
static void __attribute__((constructor)) init()
create_listener();
/* Get clock the clock source type */
- struct timespec ts;
+
/* Default clock source */
ust_clock_source = CLOCK_TRACE;
if (clock_gettime(ust_clock_source, &ts) != 0) {
This page took
0.024663 seconds
and
4
git commands to generate.