summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 15:46:23 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 15:46:23 +0200
commitdc48c20ceb392694c7aad7876be926bc2b0b085a (patch)
treefdf1f6ecd7292c71b882d747a2d9d0a51d12e3b5
parent7bccdf437363c99f37818a6ea04b4278275ef104 (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-fbdev/-/merge_requests/5>
-rw-r--r--src/fbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fbdev.c b/src/fbdev.c
index 59cc3e0..f812838 100644
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -205,7 +205,7 @@ FBDevGetRec(ScrnInfoPtr pScrn)
if (pScrn->driverPrivate != NULL)
return TRUE;
- pScrn->driverPrivate = xnfcalloc(sizeof(FBDevRec), 1);
+ pScrn->driverPrivate = XNFcallocarray(sizeof(FBDevRec), 1);
return TRUE;
}