Whamcloud - gitweb
LU-14159 build: fix gcc8 warnings on kthread_run calls
[fs/lustre-release.git] / lustre / ptlrpc / ptlrpcd.c
index b92eed2..42cb328 100644 (file)
@@ -622,7 +622,7 @@ int ptlrpcd_start(struct ptlrpcd_ctl *pc)
                RETURN(0);
        }
 
-       task = kthread_run(ptlrpcd, pc, pc->pc_name);
+       task = kthread_run(ptlrpcd, pc, "%s", pc->pc_name);
        if (IS_ERR(task))
                GOTO(out_set, rc = PTR_ERR(task));