svn commit: r256870 - head/sys/dev/ofw
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Tue Oct 22 02:39:57 UTC 2013
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);
}
/*
More information about the svn-src-all
mailing list