# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/libpciaccess/hotfix-delete-mtrr.patch # Copyright (C) 2024 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- libpciaccess-0.18/src/linux_sysfs.c.vanilla 2024-03-11 16:00:36.003705156 +0100 +++ libpciaccess-0.18/src/linux_sysfs.c 2024-03-11 16:45:50.784443577 +0100 @@ -731,7 +731,7 @@ if (ioctl(pci_sys->mtrr_fd, MTRRIOC_DEL_ENTRY, &sentry) < 0) { /* FIXME: Should we report an error in this case? */ - fprintf(stderr, "error setting MTRR " + fprintf(stderr, "error deleting MTRR " "(base = 0x%016" PRIx64 ", size = 0x%08x, type = %u) %s (%d)\n", (pciaddr_t)sentry.base, sentry.size, sentry.type, strerror(errno), errno);