Don't use kp->arg0 as a format string, grr.

MFC after:	1 week
This commit is contained in:
Kris Kennaway 2001-07-19 02:18:54 +00:00
parent a081aa7d72
commit 2d075e994c

View File

@ -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);
}