summaryrefslogtreecommitdiff
path: root/usr.bin/dtc
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2014-02-23 21:13:07 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2014-02-23 21:13:07 +0000
commitaaeeeec3653d08082dd4fd2b17f3502892c9e842 (patch)
tree105fffd9dd0293e78df288a818deaef2204a1a51 /usr.bin/dtc
parentd39e0a0f50ed4da0dde3f32ff107a2a9919af7e9 (diff)
downloadsrc-test-aaeeeec3653d08082dd4fd2b17f3502892c9e842.tar.gz
src-test-aaeeeec3653d08082dd4fd2b17f3502892c9e842.zip
Fix parsing multiple roots with whitespace between them.
Patch by: Patrick Wildt
Notes
Notes: svn path=/head/; revision=262394
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 0599d5501a54c..988a339dccc27 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();
}
}