liblttctl: fix missing return value
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 13 Nov 2009 04:39:02 +0000 (23:39 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 13 Nov 2009 04:39:02 +0000 (23:39 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
liblttctl/liblttctl.c

index e9f4f180e0728e52ccf76f7902ca4a65d5c8db48..c88ece8d89468971e5b31dfdd5e0308fadd8b6aa 100644 (file)
@@ -443,6 +443,7 @@ static int __lttctl_set_channel_enable(const char *name, const char *channel,
 
        return ret;
 }
+
 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");
+       return ret;
 }
 
 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");
+       return ret;
 }
 
 int lttctl_set_channel_switch_timer(const char *name, const char *channel,
This page took 0.023569 seconds and 4 git commands to generate.