mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't use kp->arg0 as a format string, grr.
MFC after: 1 week
This commit is contained in:
parent
a081aa7d72
commit
2d075e994c
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ kproc_start(udata)
|
|||
int error;
|
||||
|
||||
error = kthread_create((void (*)(void *))kp->func, NULL,
|
||||
kp->global_procpp, 0, kp->arg0);
|
||||
kp->global_procpp, 0, "%s", kp->arg0);
|
||||
if (error)
|
||||
panic("kproc_start: %s: error %d", kp->arg0, error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue