reg: adding proc to allproc (Ferner Cilloniz)
Dag-Erling Smørgrav
des at des.no
Sun Dec 21 14:32:33 PST 2008
Michelle Li <michelle_li_001 at yahoo.com> writes:
> new_entry->p .....
> is accessing the "read/write" pointer declared in the proc_ll struct
>
> new_entry->p = p;
> is attempting an assignment of a "read ONLY" const pointer that
> has been passed into add_proc_entry() to a "read/write" pointer
>
> new_entry->"read/write pointer" = "read ONLY pointer";
> is invalid
It's bad form, but it makes no practical difference.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers
mailing list