summaryrefslogtreecommitdiffstats
path: root/usr.bin/dtc
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2014-02-23 21:13:07 +0000
committertheraven <theraven@FreeBSD.org>2014-02-23 21:13:07 +0000
commit7ff48d0ef02dfc8f47bf900a7a639aeab8ee8164 (patch)
tree105fffd9dd0293e78df288a818deaef2204a1a51 /usr.bin/dtc
parent3b515730dab805eb9d14c9bb58245f6cc0d28f99 (diff)
downloadFreeBSD-src-7ff48d0ef02dfc8f47bf900a7a639aeab8ee8164.zip
FreeBSD-src-7ff48d0ef02dfc8f47bf900a7a639aeab8ee8164.tar.gz
Fix parsing multiple roots with whitespace between them.
Patch by: Patrick Wildt
Diffstat (limited to 'usr.bin/dtc')
-rw-r--r--usr.bin/dtc/fdt.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/dtc/fdt.cc b/usr.bin/dtc/fdt.cc
index 0599d55..988a339 100644
--- a/usr.bin/dtc/fdt.cc
+++ b/usr.bin/dtc/fdt.cc
@@ -1059,6 +1059,7 @@ device_tree::parse_roots(input_buffer &input, std::vector<node*> &roots)
{
valid = false;
}
+ input.next_token();
}
}
OpenPOWER on IntegriCloud