FreeBSD Bugzilla – Attachment 89315 Details for
Bug 126223
[patch] Unused `error' variable in kthread_add()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 545 bytes, created by
Mateusz Guzik
on 2008-08-03 20:00:06 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Mateusz Guzik
Created:
2008-08-03 20:00:06 UTC
Size:
545 bytes
patch
obsolete
>--- sys/kern/kern_kthread.c.orig 2008-08-03 20:35:18.000000000 +0200 >+++ sys/kern/kern_kthread.c 2008-08-03 20:35:33.000000000 +0200 >@@ -241,16 +241,14 @@ > kthread_add(void (*func)(void *), void *arg, struct proc *p, > struct thread **newtdp, int flags, int pages, const char *fmt, ...) > { > va_list ap; > struct thread *newtd, *oldtd; >- int error; > > if (!proc0.p_stats) > panic("kthread_add called too soon"); > >- error = 0; > /* If no process supplied, put it on proc0 */ > if (p == NULL) { > p = &proc0; > oldtd = &thread0; > } else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 126223
: 89315