[PATCH] Fix asprintf typo in commit d2c42b10

Alan Coopersmith alan.coopersmith at oracle.com
Thu Dec 30 16:08:48 PST 2010


Reported-by: Jerome Carretero <cJ at zougloub.eu>
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Cyril Brulebois <kibi at debian.org>
---
 hw/xfree86/dixmods/extmod/modinit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/dixmods/extmod/modinit.c b/hw/xfree86/dixmods/extmod/modinit.c
index 168795d..a415e5f 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);
-- 
1.7.3.2



More information about the xorg-devel mailing list