From 94490b3f3822e9e329cbb69b8bdd30f88cdd91a2 Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Tue, 25 Oct 2022 19:41:46 +0200 Subject: [PATCH] [v0.24] Fix typo in error message (thanks #22 and #28) --- src/cuda/pci.cpp | 2 +- src/intel/pci.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cuda/pci.cpp b/src/cuda/pci.cpp index aed502f..a17747b 100644 --- a/src/cuda/pci.cpp +++ b/src/cuda/pci.cpp @@ -8,7 +8,7 @@ #define CHECK_PCI_START if (false) {} #define CHECK_PCI(pci, id, chip) \ else if (pci->device_id == id) return chip; -#define CHECK_PCI_END else { printBug("Unkown CUDA device id: 0x%.4X", pci->device_id); return CHIP_UNKNOWN_CUDA; } +#define CHECK_PCI_END else { printBug("Unknown CUDA device id: 0x%.4X", pci->device_id); return CHIP_UNKNOWN_CUDA; } /* * pci ids were retrieved using https://github.com/pciutils/pciids diff --git a/src/intel/pci.cpp b/src/intel/pci.cpp index b821a12..d17dbe6 100644 --- a/src/intel/pci.cpp +++ b/src/intel/pci.cpp @@ -8,7 +8,7 @@ #define CHECK_PCI_START if (false) {} #define CHECK_PCI(pci, id, chip) \ else if (pci->device_id == id) return chip; -#define CHECK_PCI_END else { printBug("Unkown Intel device id: 0x%.4X", pci->device_id); return CHIP_UNKNOWN_INTEL; } +#define CHECK_PCI_END else { printBug("Unknown Intel device id: 0x%.4X", pci->device_id); return CHIP_UNKNOWN_INTEL; } // TODO: Review wikipedia link to improve the LUT /*