From 261d0d16af797bb52d4c778e220296d7f2b28e14 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 30 Dec 2010 16:08:48 -0800 Subject: [PATCH] Fix asprintf typo in commit d2c42b10 Reported-by: Jerome Carretero Signed-off-by: Alan Coopersmith Reviewed-by: Cyril Brulebois Reviewed-by: Daniel Stone --- hw/xfree86/dixmods/extmod/modinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/dixmods/extmod/modinit.c b/hw/xfree86/dixmods/extmod/modinit.c index 168795d03..a415e5f27 100644 --- a/hw/xfree86/dixmods/extmod/modinit.c +++ b/hw/xfree86/dixmods/extmod/modinit.c @@ -146,7 +146,7 @@ extmodSetup(pointer module, pointer opts, int *errmaj, int *errmin) for (i = 0; extensionModules[i].name != NULL; i++) { if (opts) { char *s; - if (Xasprinf(&s, "omit%s", extensionModules[i].name) != -1) { + if (asprintf(&s, "omit%s", extensionModules[i].name) != -1) { pointer o; o = xf86FindOption(opts, s); free(s);