- if (ustctl_set_marker_state(argv[2], channel, marker, 0, pid)) {
- PERROR("error while trying to disable marker %s with PID %u",
- argv[i], pid);
+ if (ustctl_set_ust_marker_state(sock, argv[2], channel, marker, 0)) {
+ PERROR("error while trying to disable marker %s with PID %s",
+ argv[i], argv[1]);