Commit 261d0d16 authored by Alan Coopersmith's avatar Alan Coopersmith Committed by Daniel Stone
Browse files

Fix asprintf typo in commit d2c42b10


Reported-by: default avatarJerome Carretero <cJ@zougloub.eu>
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Cyril Brulebois's avatarCyril Brulebois <kibi@debian.org>
Reviewed-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
parent c6afe64b
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment