diff options
author | zilio nicolas <nicolas.zilio@kit.edu> | 2015-07-07 14:03:39 +0200 |
---|---|---|
committer | zilio nicolas <nicolas.zilio@kit.edu> | 2015-07-07 14:03:39 +0200 |
commit | 5a7bcf11b8e3168900a75e7cbf3b1e18f424d271 (patch) | |
tree | 3a7ed810b913ed6a6adf50f78dce57f1c3e5dd7f /pcitool | |
parent | c4f209458c5caa00f8d67033224458c78c374adc (diff) | |
download | pcitool-5a7bcf11b8e3168900a75e7cbf3b1e18f424d271.tar.gz pcitool-5a7bcf11b8e3168900a75e7cbf3b1e18f424d271.tar.bz2 pcitool-5a7bcf11b8e3168900a75e7cbf3b1e18f424d271.tar.xz pcitool-5a7bcf11b8e3168900a75e7cbf3b1e18f424d271.zip |
some modif
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 49d13ee..d24e357 100644 --- a/pcitool/cli.c +++ b/pcitool/cli.c @@ -989,8 +989,8 @@ int ReadRegister(pcilib_t *handle, const pcilib_model_description_t *model_info, format = model_info->banks[bank_id].format; if (!format) format = "%lu"; - err = pcilib_read_register_by_id(handle, regid, &value); - // err = pcilib_read_register(handle, bank, reg, &value); + err = pcilib_read_register_by_id(handle, regid, &value); + // err = pcilib_read_register(handle, bank, reg, &value); if (err) printf("Error reading register %s\n", reg); else { printf("%s = ", reg); |