diff --git a/qtfs/qtfs_server/fsops.c b/qtfs/qtfs_server/fsops.c index 9ff564259319768a8c7df7486398a99b387d871f..ea10975ca753f1e969f460ea4519347790c7dcd8 100644 --- a/qtfs/qtfs_server/fsops.c +++ b/qtfs/qtfs_server/fsops.c @@ -1511,7 +1511,7 @@ int remotesc_kill(struct qtserver_arg *arg) goto result; if (!t) { qtfs_err("Failed to get task by pid:%d", req->pid); - rsp->ret = -EINVAL; + rsp->ret = -ESRCH; goto end; } get_task_comm(tskcomm, t);