Author: dougm Date: Sun Dec 22 21:53:05 2019 New Revision: 356028 URL: https://svnweb.freebsd.org/changeset/base/356028
Log: Fix typo using RB_INITIALIZER. The macro RB_INITIALIZER ignores its argument, but is documented to require "&head" as argument to initialize "head". So using "_vm_phys_fictitious_tree" as the argument to initialize "vm_phys_fictitious_tree" is an inconsequential error, corrected here. Discussed with: alc Modified: head/sys/vm/vm_phys.c Modified: head/sys/vm/vm_phys.c ============================================================================== --- head/sys/vm/vm_phys.c Sun Dec 22 20:36:57 2019 (r356027) +++ head/sys/vm/vm_phys.c Sun Dec 22 21:53:05 2019 (r356028) @@ -88,7 +88,7 @@ static int vm_phys_fictitious_cmp(struct vm_phys_ficti struct vm_phys_fictitious_seg *); RB_HEAD(fict_tree, vm_phys_fictitious_seg) vm_phys_fictitious_tree = - RB_INITIALIZER(_vm_phys_fictitious_tree); + RB_INITIALIZER(&vm_phys_fictitious_tree); struct vm_phys_fictitious_seg { RB_ENTRY(vm_phys_fictitious_seg) node; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"