summaryrefslogtreecommitdiff
path: root/src/xgi_driver.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 13:23:03 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 13:23:03 +0200
commita0da5b01a5f4628000ee40dc069e119caaca57e2 (patch)
tree079319ab8ca804b89c0bf74b04a4efa3697cb5cd /src/xgi_driver.c
parentc904d2e1c36ab6d7f6b871ad4df00f64b85b8082 (diff)
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>
Diffstat (limited to 'src/xgi_driver.c')
-rw-r--r--src/xgi_driver.c2
1 files changed, 1 insertions, 1 deletions
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;