Assuming it is related to: ``` // This is the IOK...
# macos
f
Assuming it is related to:
Copy code
// This is the IOKit name, which is the device's label.
  io_name_t name;
  auto kr = IORegistryEntryGetName(device, name);
  if (kr == KERN_SUCCESS && (char*)name != nullptr) {
    r["label"] = std::string(name);
  }