Skip to content

Commit

Permalink
xfree86: fix wrong usage of xf86optionListMerge
Browse files Browse the repository at this point in the history
Signed-off-by: Qiang Yu <Qiang.Yu@amd.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
yuq authored and whot committed Jan 11, 2017
1 parent e473b2b commit 1012510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/xfree86/common/xf86Option.c
Expand Up @@ -87,7 +87,7 @@ xf86CollectOptions(ScrnInfoPtr pScrn, XF86OptionPtr extraOpts)
if (device && device->options) {
tmp = xf86optionListDup(device->options);
if (pScrn->options)
xf86optionListMerge(pScrn->options, tmp);
pScrn->options = xf86optionListMerge(pScrn->options, tmp);
else
pScrn->options = tmp;
}
Expand Down

0 comments on commit 1012510

Please sign in to comment.