diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-11-17 18:23:48 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-11-17 18:23:48 +0100 |
commit | 52e32b2c9f0e5ac7cfb31fd2306e6536340955e1 (patch) | |
tree | 720e376325d14f6713df434e031c503ba8f33c1e /pcitool | |
parent | 2455a677448e0e0c17d7193bf405b734b758811b (diff) | |
download | pcitool-52e32b2c9f0e5ac7cfb31fd2306e6536340955e1.tar.gz pcitool-52e32b2c9f0e5ac7cfb31fd2306e6536340955e1.tar.bz2 pcitool-52e32b2c9f0e5ac7cfb31fd2306e6536340955e1.tar.xz pcitool-52e32b2c9f0e5ac7cfb31fd2306e6536340955e1.zip |
Support for 64-bit registes
Diffstat (limited to 'pcitool')
-rw-r--r-- | pcitool/cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcitool/cli.c b/pcitool/cli.c index 90f11d4..8943347 100644 --- a/pcitool/cli.c +++ b/pcitool/cli.c @@ -753,9 +753,9 @@ void ViewInfo(pcilib_t *handle, pcilib_register_t reg, size_t id) { printf(" Value aliases :"); for (i = 0; vnames[i].name; i++) { if (i) printf(","); - printf(" %s = %u", vnames[i].name, vnames[i].value); + printf(" %s = %lu", vnames[i].name, vnames[i].value); if (vnames[i].min != vnames[i].max) - printf(" (%u - %u)", vnames[i].min, vnames[i].max); + printf(" (%lu - %lu)", vnames[i].min, vnames[i].max); } printf("\n"); } else if (v->api == &pcilib_transform_view_api) { |