- if (ustcmd_set_subbuf_num(argv[2], channel, num, pid)) {
- ERR("error while trying to set the number of subbuffers for PID %u\n",
- pid);
+ if (ustctl_set_subbuf_num(sock, argv[2], channel, num)) {
+ ERR("error while trying to set the number of subbuffers for PID %s\n",
+ argv[1]);