Skip to content

Commit b8963a6

Browse files
committed
fix syslog messages
1 parent cd90541 commit b8963a6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

genericPatcher/kern_patchset.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void PatchSet::processKext(KernelPatcher& patcher, size_t index, mach_vm_address
4949
if(kextList[i].loadIndex == index) {
5050
if(!(progressState & ProcessingState::EverythingDone) && !strcmp(kextList[i].id, "com.apple.driver.AppleIntelFramebufferAzul")){
5151

52-
SYSLOG("coderobe.AzulPatcher4600: found net.coderobe.kext");
52+
SYSLOG("coderobe.AzulPatcher4600: found com.apple.driver.AppleIntelFramebufferAzul");
5353

5454
// Disable port 0204
5555
const uint8_t find[] = {0x02, 0x04, 0x09, 0x00, 0x00, 0x04, 0x00, 0x00, 0x87, 0x00, 0x00, 0x00};
@@ -89,12 +89,11 @@ void PatchSet::processKext(KernelPatcher& patcher, size_t index, mach_vm_address
8989
}
9090

9191
void PatchSet::applyPatches(KernelPatcher& patcher, size_t index, const KextPatch* patches, size_t patchNum) {
92-
SYSLOG("coderobe.AzulPatcher4600: applying patches for %zu kext", index);
9392
for (size_t p = 0; p < patchNum; p++) {
9493
auto &patch = patches[p];
9594
if (patch.patch.kext->loadIndex == index) {
9695
if (patcher.compatibleKernel(patch.minKernel, patch.maxKernel)) {
97-
SYSLOG("coderobe.AzulPatcher4600: applying %zu patch for %zu kext", p, index);
96+
SYSLOG("coderobe.AzulPatcher4600: patching...");
9897
patcher.applyLookupPatch(&patch.patch);
9998
patcher.clearError();
10099
}

0 commit comments

Comments
 (0)