mirror of
https://github.com/X11Libre/xf86-video-xgi.git
synced 2026-03-24 01:24:35 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user