mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-23 04:35:48 +08:00
SBUF(9): Enable sbuf_new_for_sysctl()
This commit is contained in:
parent
74c5b0ff73
commit
a27a1ba4f5
@ -1652,6 +1652,7 @@ userland_sysctl(struct thread *td, int *name, u_int namelen, void *old,
|
||||
}
|
||||
return (error);
|
||||
}
|
||||
#endif /* __rtems__ */
|
||||
|
||||
/*
|
||||
* Drain into a sysctl struct. The user buffer should be wired if a page
|
||||
@ -1677,4 +1678,3 @@ sbuf_new_for_sysctl(struct sbuf *s, char *buf, int length,
|
||||
sbuf_set_drain(s, sbuf_sysctl_drain, req);
|
||||
return (s);
|
||||
}
|
||||
#endif /* __rtems__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user