Fix asprintf typo in commit d2c42b10
Reported-by: Jerome Carretero <cJ@zougloub.eu> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
c6afe64bad
commit
261d0d16af
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user