summaryrefslogtreecommitdiffstats
path: root/pcitool
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-11-20 18:52:51 +0100
committerSuren A. Chilingaryan <csa@suren.me>2015-11-20 18:52:51 +0100
commit817906fdd1c4509cb4b79160bb0d9ff72db7a604 (patch)
treeeafe197e4e16ade6641d5c6659c5fe95be9b8239 /pcitool
parentbba9c619c79175b58359116b52a889e30a632d07 (diff)
downloadpcitool-817906fdd1c4509cb4b79160bb0d9ff72db7a604.tar.gz
pcitool-817906fdd1c4509cb4b79160bb0d9ff72db7a604.tar.bz2
pcitool-817906fdd1c4509cb4b79160bb0d9ff72db7a604.tar.xz
pcitool-817906fdd1c4509cb4b79160bb0d9ff72db7a604.zip
Fix reading non DMA-able kernel pages using pcitool
Diffstat (limited to 'pcitool')
-rw-r--r--pcitool/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcitool/cli.c b/pcitool/cli.c
index c175c31..4d5d3d5 100644
--- a/pcitool/cli.c
+++ b/pcitool/cli.c
@@ -2547,7 +2547,7 @@ int ListKMEM(pcilib_t *handle, const char *device) {
printf("Locks ");
break;
case PCILIB_KMEM_USE_USER:
- printf("User %04x ", uses[i].use&0xFFFF);
+ printf("User %04x ", uses[i].use&0xFFFF);
break;
default:
printf (" ");