out.size = size;
out.value = val;
if ( ioctl(assigned_device->fd, PCI_IOMUL_OUT, &out) )
- PT_LOG("error: %s: %s addr 0x%x size %d bar %d offset 0x%lx\n",
+ PT_LOG("error: %s: %s addr 0x%x size %d bar %d offset 0x%"PRIx64"\n",
__func__, strerror(errno), addr, size, bar, offset);
}
in.size = size;
if ( ioctl(assigned_device->fd, PCI_IOMUL_IN, &in) )
{
- PT_LOG("error: %s: %s addr 0x%x size %d bar %d offset 0x%lx\n",
+ PT_LOG("error: %s: %s addr 0x%x size %d bar %d offset 0x%"PRIx64"\n",
__func__, strerror(errno), addr, size, bar, offset);
in.value = -1;
}