wifi: fix wifi close issue and ap62x8 open fail issue
[GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_dhd-driver.git] / bcmdhd.1.579.77.41.1.cn / dbus.c
index cea6c7f1c87d589714c9becb49975ec2d93c96c6..1f040e72669c31da7b0dcc6dea42af8dfd4e8fd3 100644 (file)
@@ -1442,7 +1442,7 @@ dbus_attach(osl_t *osh, int rxsize, int nrxq, int ntxq, dhd_pub_t *pub,
 
        dhd_bus = MALLOC(osh, sizeof(dhd_bus_t));
        if (dhd_bus == NULL) {
-               DBUSERR(("%s: malloc failed %d\n", __FUNCTION__, (int)sizeof(dhd_bus_t)));
+               DBUSERR(("%s: malloc failed %zu\n", __FUNCTION__, sizeof(dhd_bus_t)));
                return NULL;
        }