FreeBSD Bugzilla – Attachment 15761 Details for
Bug 29131
Current hungs in sysctl -a while booting + patch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
kern_sysctl.c-style.patch
kern_sysctl.c-style.patch (text/plain; charset=us-ascii), 1.37 KB, created by
Peter Pentchev
on 2001-07-22 21:59:34 UTC
(
hide
)
Description:
kern_sysctl.c-style.patch
Filename:
MIME Type:
Creator:
Peter Pentchev
Created:
2001-07-22 21:59:34 UTC
Size:
1.37 KB
patch
obsolete
>Index: src/sys/kern/kern_sysctl.c >=================================================================== >RCS file: /home/ncvs/src/sys/kern/kern_sysctl.c,v >retrieving revision 1.110 >diff -u -r1.110 kern_sysctl.c >--- src/sys/kern/kern_sysctl.c 2001/06/22 19:54:38 1.110 >+++ src/sys/kern/kern_sysctl.c 2001/07/22 20:38:15 >@@ -87,7 +87,8 @@ > * Order by number in each list. > */ > >-void sysctl_register_oid(struct sysctl_oid *oidp) >+void >+sysctl_register_oid(struct sysctl_oid *oidp) > { > struct sysctl_oid_list *parent = oidp->oid_parent; > struct sysctl_oid *p; >@@ -135,7 +136,8 @@ > SLIST_INSERT_HEAD(parent, oidp, oid_link); > } > >-void sysctl_unregister_oid(struct sysctl_oid *oidp) >+void >+sysctl_unregister_oid(struct sysctl_oid *oidp) > { > SLIST_REMOVE(oidp->oid_parent, oidp, sysctl_oid, oid_link); > } >@@ -371,7 +373,8 @@ > */ > SET_DECLARE(sysctl_set, struct sysctl_oid); > >-static void sysctl_register_all(void *arg) >+static void >+sysctl_register_all(void *arg) > { > struct sysctl_oid **oidp; > >@@ -1084,7 +1087,8 @@ > * must be in kernel space. > */ > int >-userland_sysctl(struct proc *p, int *name, u_int namelen, void *old, size_t *oldlenp, int inkernel, void *new, size_t newlen, size_t *retval) >+userland_sysctl(struct proc *p, int *name, u_int namelen, void *old, >+ size_t *oldlenp, int inkernel, void *new, size_t newlen, size_t *retval) > { > int error = 0; > struct sysctl_req req, req2;
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 29131
:
15760
| 15761 |
15762