diff options
| author | Emmanuel Vadot <manu@FreeBSD.org> | 2019-10-26 17:10:27 +0000 |
|---|---|---|
| committer | Emmanuel Vadot <manu@FreeBSD.org> | 2019-10-26 17:10:27 +0000 |
| commit | c571e05c2caf6c8c5366805eaf0b682fba480322 (patch) | |
| tree | 9b47eacc6dd9e3d00ddd69e70db8f100307a6c94 /usr.bin | |
| parent | 499fe48de8938d4c7b0a91e20eb6c16db9d55633 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/dtc/fdt.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/dtc/fdt.cc b/usr.bin/dtc/fdt.cc index a1e2fc4dbf2d..606493e3521b 100644 --- a/usr.bin/dtc/fdt.cc +++ b/usr.bin/dtc/fdt.cc @@ -1563,11 +1563,11 @@ device_tree::parse_file(text_input_buffer &input, { input.next_token(); // Read the header - if (input.consume("/dts-v1/;")) + while (input.consume("/dts-v1/;")) { read_header = true; + input.next_token(); } - input.next_token(); if (input.consume("/plugin/;")) { is_plugin = true; |
