Fix integer type and format in debug print
gcc complains "cast to pointer from integer of different size". phandle_t is *always* a uint32_t, so treat it as such, not as a pointer. Fixes 64-bit build.
This commit is contained in:
parent
40a54c51c9
commit
8c6037c4f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325352
@ -651,8 +651,8 @@ lbc_attach(device_t dev)
|
||||
free(di, M_LBC);
|
||||
continue;
|
||||
}
|
||||
debugf("added child name='%s', node=%p\n", di->di_ofw.obd_name,
|
||||
(void *)child);
|
||||
debugf("added child name='%s', node=%x\n", di->di_ofw.obd_name,
|
||||
child);
|
||||
device_set_ivars(cdev, di);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user