mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
kboot: Use #define for DT_DIR
Sponsored by: Netflix
This commit is contained in:
parent
8483b3add8
commit
0ea00e71a2
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ add_node_to_fdt(void *buffer, const char *path, int fdt_offset)
|
|||
strcmp(dent->d_name, "..") == 0)
|
||||
continue;
|
||||
d_type = dent->d_type;
|
||||
if (d_type == 4 /* DT_DIR */) {
|
||||
if (d_type == HOST_DT_DIR) {
|
||||
child_offset = fdt_add_subnode(buffer, fdt_offset,
|
||||
dent->d_name);
|
||||
if (child_offset < 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue