use XNFstrdup() instead of xnfstrdup

xnfstrdup is just an alias for XNFstrdup() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse/-/merge_requests/14>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-05-10 10:59:47 +02:00
committed by Alan Coopersmith
parent 832818c4a5
commit 4ef48818c8

View File

@@ -130,7 +130,7 @@ lnxMouseMagic(InputInfoPtr pInfo)
}
}
if (!realdev)
realdev = xnfstrdup(dev);
realdev = XNFstrdup(dev);
else {
/* If realdev doesn't contain a '/' then prepend "/dev/" */
if (!strchr(realdev, '/')) {