use XNFalloc() instead of xnfalloc

xnfalloc is just an alias for XNFalloc() 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-xgi/-/merge_requests/5>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-05-08 13:23:03 +02:00
parent c904d2e1c3
commit a0da5b01a5

View File

@@ -685,7 +685,7 @@ void XGIAddAvailableModes(DisplayModePtr availModes)
first->next = p;
*/
p->name = xnfalloc(strlen(ExtraAvailableModeTiming[i].name) + 1);
p->name = XNFalloc(strlen(ExtraAvailableModeTiming[i].name) + 1);
p->name = ExtraAvailableModeTiming[i].name;
p->status = MODE_OK;