+ case GET_SOCK_PATH:
+ result = ustcmd_get_sock_path(&tmp, *pidit);
+ if (result) {
+ ERR("error while trying to get sock path for PID %u\n", (unsigned int) *pidit);
+ break;
+ }
+ printf("the socket path is %s\n", tmp);
+ free(tmp);
+ break;
+
+ case SET_SOCK_PATH:
+ result = ustcmd_set_sock_path(opts.regex, *pidit);
+ if (result) {
+ ERR("error while trying to set sock path for PID %u\n", (unsigned int) *pidit);
+ }
+ break;
+
+ case FORCE_SWITCH:
+ result = ustcmd_force_switch(*pidit);
+ if (result) {
+ ERR("error while trying to force switch for PID %u\n", (unsigned int) *pidit);
+ }
+ break;
+