summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 17:27:29 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 17:27:29 +0200
commit80edfdfa036319e4b5d768ee003d82253831770d (patch)
treecbe57cc74ba987266f2e9251ec50c1522b0968bd
parent14d55de20e795d03a75ec03db301dd73615684b0 (diff)
use XNFcallocarray() instead of xnfcalloc macroHEADmaster
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/merge_requests/7>
-rw-r--r--src/wsfb_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wsfb_driver.c b/src/wsfb_driver.c
index 81741df..fcab186 100644
--- a/src/wsfb_driver.c
+++ b/src/wsfb_driver.c
@@ -264,7 +264,7 @@ WsfbGetRec(ScrnInfoPtr pScrn)
if (pScrn->driverPrivate != NULL)
return TRUE;
- pScrn->driverPrivate = xnfcalloc(sizeof(WsfbRec), 1);
+ pScrn->driverPrivate = XNFcallocarray(sizeof(WsfbRec), 1);
return TRUE;
}