From a0da5b01a5f4628000ee40dc069e119caaca57e2 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 8 May 2024 13:23:03 +0200 Subject: [PATCH] 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 Part-of: --- src/xgi_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xgi_driver.c b/src/xgi_driver.c index bf33663..e91d957 100644 --- a/src/xgi_driver.c +++ b/src/xgi_driver.c @@ -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;