diff options
author | Toomas Soome <tsoome@me.com> | 2019-01-22 11:09:11 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-07-03 10:31:18 +0300 |
commit | eb29cb2960e466249344f1ef9a871496cb2a611a (patch) | |
tree | 8866891f8759ee4f8316805aee1439a9c41a81fd | |
parent | 51b02b292e47be2588e43efa7cff6e9fc931fba0 (diff) | |
download | illumos-joyent-eb29cb2960e466249344f1ef9a871496cb2a611a.tar.gz |
11142 libscsi: NULL pointer errors
Reviewed by: John Levon <john.levon@joyent.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
-rw-r--r-- | usr/src/lib/scsi/libscsi/common/scsi_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/scsi/libscsi/common/scsi_engine.c b/usr/src/lib/scsi/libscsi/common/scsi_engine.c index dc7a7af5c1..c0c666cb46 100644 --- a/usr/src/lib/scsi/libscsi/common/scsi_engine.c +++ b/usr/src/lib/scsi/libscsi/common/scsi_engine.c @@ -346,7 +346,7 @@ libscsi_action_get_buffer(const libscsi_action_t *ap, uint8_t **bp, if (bp != NULL) *bp = NULL; if (sp != NULL) - *sp = NULL; + *sp = 0; if (vp != NULL) *vp = 0; } else { |