projects
/
ltt-control.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
liblttctl: fix missing return value
[ltt-control.git]
/
liblttctl
/
liblttctl.c
diff --git
a/liblttctl/liblttctl.c
b/liblttctl/liblttctl.c
index e9f4f180e0728e52ccf76f7902ca4a65d5c8db48..c88ece8d89468971e5b31dfdd5e0308fadd8b6aa 100644
(file)
--- a/
liblttctl/liblttctl.c
+++ b/
liblttctl/liblttctl.c
@@
-443,6
+443,7
@@
static int __lttctl_set_channel_enable(const char *name, const char *channel,
return ret;
}
return ret;
}
+
int lttctl_set_channel_enable(const char *name, const char *channel,
int enable)
{
int lttctl_set_channel_enable(const char *name, const char *channel,
int enable)
{
@@
-639,6
+640,7
@@
static int __lttctl_set_channel_subbuf_size(const char *name,
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's subbuf size failed\n");
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's subbuf size failed\n");
+ return ret;
}
int lttctl_set_channel_subbuf_size(const char *name, const char *channel,
}
int lttctl_set_channel_subbuf_size(const char *name, const char *channel,
@@
-706,6
+708,7
@@
static int __lttctl_set_channel_switch_timer(const char *name,
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's switch timer failed\n");
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's switch timer failed\n");
+ return ret;
}
int lttctl_set_channel_switch_timer(const char *name, const char *channel,
}
int lttctl_set_channel_switch_timer(const char *name, const char *channel,
This page took
0.024192 seconds
and
4
git commands to generate.