[PATCH xserver 1/2] xwayland: use the lowercase xnf.*alloc API

Emil Velikov emil.l.velikov at gmail.com
Sun Apr 17 16:24:52 UTC 2016


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 hw/xwayland/xwayland-glamor-xv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/xwayland/xwayland-glamor-xv.c b/hw/xwayland/xwayland-glamor-xv.c
index 65f93c6..8e0f8da 100644
--- a/hw/xwayland/xwayland-glamor-xv.c
+++ b/hw/xwayland/xwayland-glamor-xv.c
@@ -213,7 +213,7 @@ xwl_glamor_xv_add_formats(XvAdaptorPtr pa)
                         void *moreSpace;
 
                         totFormat *= 2;
-                        moreSpace = XNFreallocarray(pFormat, totFormat,
+                        moreSpace = xnfreallocarray(pFormat, totFormat,
                                                     sizeof(XvFormatRec));
                         pFormat = moreSpace;
                         pf = pFormat + numFormat;
-- 
2.8.0



More information about the xorg-devel mailing list