diff options
author | nicolas.zilio@hotmail.fr <> | 2015-09-15 20:11:02 +0200 |
---|---|---|
committer | nicolas.zilio@hotmail.fr <> | 2015-09-15 20:11:02 +0200 |
commit | ae7f83a7948d8c3760f8019899a45e6ec90c2c6a (patch) | |
tree | 897e37e9e53a763790749fe69f279bd74fe9a544 /pcitool | |
parent | 16556c4b24e37a4d451b7a85a5d260c4ee9828cb (diff) | |
download | pcitool-ae7f83a7948d8c3760f8019899a45e6ec90c2c6a.tar.gz pcitool-ae7f83a7948d8c3760f8019899a45e6ec90c2c6a.tar.bz2 pcitool-ae7f83a7948d8c3760f8019899a45e6ec90c2c6a.tar.xz pcitool-ae7f83a7948d8c3760f8019899a45e6ec90c2c6a.zip |
bof....
Diffstat (limited to 'pcitool')
-rw-r--r-- | pcitool/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcitool/cli.c b/pcitool/cli.c index b168d16..26bd087 100644 --- a/pcitool/cli.c +++ b/pcitool/cli.c @@ -1320,7 +1320,7 @@ int WriteRegister(pcilib_t *handle, const pcilib_model_description_t *model_info format = "0x%lx"; } else if((data) && !(regname)){ - err = pcilib_write_view(handle,bank,reg,*data,0,NULL); + err = pcilib_write_view(handle,bank,reg,"name",0,*data); if(err) Error("can't write to the register using an enum view"); else return 0; } |