diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2022-07-15 04:28:12 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2022-07-15 04:28:12 +0000 |
commit | f1c4468bc5353fa361029e790b3ab370d22d5101 (patch) | |
tree | a54fd4eff8a43d3aa764fd3de14897e5f2517e19 /include | |
parent | a51fa77e373d1e4a1be10e8e4ef9a87547d26e86 (diff) | |
download | sg3_utils-f1c4468bc5353fa361029e790b3ab370d22d5101.tar.gz |
sg_inq+sg_vpd: JSON work continues
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@960 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'include')
-rw-r--r-- | include/sg_lib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sg_lib.h b/include/sg_lib.h index 8e2f541d..0e2d842c 100644 --- a/include/sg_lib.h +++ b/include/sg_lib.h @@ -317,10 +317,10 @@ char * sg_get_pdt_str(int pdt, int buff_len, char * buff); /* Some lesser used PDTs share a lot in common with a more used PDT. * Examples are PDT_ADC decaying to PDT_TAPE and PDT_ZBC to PDT_DISK. - * If such a lesser used 'pdt' is given to this function, then it will - * return the more used PDT (i.e. "decays to"); otherwise 'pdt' is returned. - * Valid for 'pdt' 0 to 31, for other values returns 0. */ -int sg_lib_pdt_decay(int pdt); + * If such a lesser used 'dev_pdt' is given to this function, then it will + * return the more used PDT (i.e. "decays to"); otherwise 'dev_pdt' is + * returned. Valid for 'pdt' 0 to 31, for other values returns 0. */ +int sg_lib_pdt_decay(int dev_pdt); /* Yield string associated with transport protocol identifier (tpi). Returns * 'buff'. If 'tpi' out of range yields "bad tpi" string. */ |