Author: nwhitehorn Date: Tue Oct 22 02:39:56 2013 New Revision: 256870 URL: http://svnweb.freebsd.org/changeset/base/256870
Log: Return standards-compliant code from OF_nextprop() with FDT when no properties remain on this node. Modified: head/sys/dev/ofw/ofw_fdt.c Modified: head/sys/dev/ofw/ofw_fdt.c ============================================================================== --- head/sys/dev/ofw/ofw_fdt.c Tue Oct 22 00:58:51 2013 (r256869) +++ head/sys/dev/ofw/ofw_fdt.c Tue Oct 22 02:39:56 2013 (r256870) @@ -329,7 +329,7 @@ fdt_nextprop(int offset, char *buf, size depth = -1; } while (depth >= 0); - return (-1); + return (0); } /* _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"