aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_pt_solaris.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2018-02-22 07:00:28 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2018-02-22 07:00:28 +0000
commit252086533f8af0736c2a4987cd70a44366837ec1 (patch)
tree1f9245e247673fdb6ebea13b9aa559e1f869d78c /lib/sg_pt_solaris.c
parent39ea1b548f21c006c311ace897b221b100bfa88d (diff)
downloadsg3_utils-252086533f8af0736c2a4987cd70a44366837ec1.tar.gz
sg_lib: add sg_if_can2stdout(); use uint8_t instead of unsigned char; Windows pass-through work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@754 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'lib/sg_pt_solaris.c')
-rw-r--r--lib/sg_pt_solaris.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sg_pt_solaris.c b/lib/sg_pt_solaris.c
index 9690a498..ff217cc1 100644
--- a/lib/sg_pt_solaris.c
+++ b/lib/sg_pt_solaris.c
@@ -147,7 +147,7 @@ clear_scsi_pt_obj(struct sg_pt_base * vp)
}
void
-set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb,
+set_scsi_pt_cdb(struct sg_pt_base * vp, const uint8_t * cdb,
int cdb_len)
{
struct sg_pt_solaris_scsi * ptp = &vp->impl;
@@ -159,7 +159,7 @@ set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb,
}
void
-set_scsi_pt_sense(struct sg_pt_base * vp, unsigned char * sense,
+set_scsi_pt_sense(struct sg_pt_base * vp, uint8_t * sense,
int max_sense_len)
{
struct sg_pt_solaris_scsi * ptp = &vp->impl;
@@ -174,7 +174,7 @@ set_scsi_pt_sense(struct sg_pt_base * vp, unsigned char * sense,
/* from device */
void
-set_scsi_pt_data_in(struct sg_pt_base * vp, unsigned char * dxferp,
+set_scsi_pt_data_in(struct sg_pt_base * vp, uint8_t * dxferp,
int dxfer_len)
{
struct sg_pt_solaris_scsi * ptp = &vp->impl;
@@ -190,7 +190,7 @@ set_scsi_pt_data_in(struct sg_pt_base * vp, unsigned char * dxferp,
/* to device */
void
-set_scsi_pt_data_out(struct sg_pt_base * vp, const unsigned char * dxferp,
+set_scsi_pt_data_out(struct sg_pt_base * vp, const uint8_t * dxferp,
int dxfer_len)
{
struct sg_pt_solaris_scsi * ptp = &vp->impl;