Rewrite last GPL bits in relay.c and relay.h
[ust.git] / libustcmd / ustcmd.c
index bbb6928c3bff3fda77e02b380d93305d75b9e9cb..d573a7fe2ef84ae845c698053322808252d2778d 100644 (file)
@@ -111,7 +111,7 @@ int ustcmd_destroy_trace(pid_t pid)
 {
        int result;
 
-       result = ustcmd_send_cmd("destroy", pid, NULL);
+       result = ustcmd_send_cmd("trace_destroy", pid, NULL);
        if (result) {
                return USTCMD_ERR_GEN;
        }
@@ -255,7 +255,7 @@ int ustcmd_get_cmsf(struct marker_status **cmsf, const pid_t pid)
        while (big_str[i] != '\0') {
                char state;
 
-               sscanf(big_str + i, "%a[^/]/%a[^ ] %c %a[^\n]",
+               sscanf(big_str + i, "marker: %a[^/]/%a[^ ] %c %a[^\n]",
                        &tmp_cmsf[cmsf_ind].channel,
                        &tmp_cmsf[cmsf_ind].marker,
                        &state,
This page took 0.023266 seconds and 4 git commands to generate.