diff options
author | Oleksandr Tymoshenko <gonzo@FreeBSD.org> | 2018-04-08 23:17:51 +0000 |
---|---|---|
committer | Oleksandr Tymoshenko <gonzo@FreeBSD.org> | 2018-04-08 23:17:51 +0000 |
commit | b7dc17589b916f54043de4fcbab8e59ccaee435c (patch) | |
tree | 62f53cfdf6d52f9ecd672d4a533034994c890227 /sys/arm64 | |
parent | 217d17bcd3f525fbdf124cfbc926f8033da69805 (diff) | |
download | src-b7dc17589b916f54043de4fcbab8e59ccaee435c.tar.gz src-b7dc17589b916f54043de4fcbab8e59ccaee435c.zip |
Fix one more OF_getprop_alloc instance missed in r332310
X-MFC-With: r332310
Notes
Notes:
svn path=/head/; revision=332311
Diffstat (limited to 'sys/arm64')
-rw-r--r-- | sys/arm64/coresight/coresight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm64/coresight/coresight.c b/sys/arm64/coresight/coresight.c index 4f520ce70ca3..9a1f51701b87 100644 --- a/sys/arm64/coresight/coresight.c +++ b/sys/arm64/coresight/coresight.c @@ -68,7 +68,7 @@ coresight_get_ports(phandle_t dev_node, node = dev_node; for (child = OF_child(node); child != 0; child = OF_peer(child)) { - ret = OF_getprop_alloc(child, "name", sizeof(*name), (void **)&name); + ret = OF_getprop_alloc(child, "name", (void **)&name); if (ret == -1) continue; |