SBUF(9): Enable sbuf_new_for_sysctl()

This commit is contained in:
Sebastian Huber 2015-01-29 08:42:36 +01:00
parent 74c5b0ff73
commit a27a1ba4f5

View File

@ -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__ */