diff --git a/sys/dev/ofw/ofw_fdt.c b/sys/dev/ofw/ofw_fdt.c index 7b3b0e98dab..4191e7e60d7 100644 --- a/sys/dev/ofw/ofw_fdt.c +++ b/sys/dev/ofw/ofw_fdt.c @@ -329,7 +329,7 @@ fdt_nextprop(int offset, char *buf, size_t size) depth = -1; } while (depth >= 0); - return (-1); + return (0); } /*