Author: gonzo
Date: Sun Apr  8 23:17:51 2018
New Revision: 332311
URL: https://svnweb.freebsd.org/changeset/base/332311

Log:
  Fix one more OF_getprop_alloc instance missed in r332310
  
  X-MFC-With:   r332310

Modified:
  head/sys/arm64/coresight/coresight.c

Modified: head/sys/arm64/coresight/coresight.c
==============================================================================
--- head/sys/arm64/coresight/coresight.c        Sun Apr  8 22:59:34 2018        
(r332310)
+++ head/sys/arm64/coresight/coresight.c        Sun Apr  8 23:17:51 2018        
(r332311)
@@ -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;
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to