bsps/sparc: Fix typo

This commit is contained in:
Sebastian Huber
2018-12-21 21:42:09 +01:00
parent 11f3b9a535
commit 75e1009f1e

View File

@@ -1534,7 +1534,7 @@ int greth_init3(struct drvmgr_dev *dev)
SPIN_INIT(&sc->devlock, sc->devName);
/* Register GRETH device as an Network interface */
ifp = grlib_cmalloc(1, sizeof(*ifp));
ifp = grlib_calloc(1, sizeof(*ifp));
ifp->name = sc->devName;
ifp->drv_ctrl = sc;