aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sg_lib.h4
-rw-r--r--include/sg_pt_linux.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/include/sg_lib.h b/include/sg_lib.h
index bc93d49e..cd95688b 100644
--- a/include/sg_lib.h
+++ b/include/sg_lib.h
@@ -579,8 +579,8 @@ uint8_t * sg_memalign(uint32_t num_bytes, uint32_t align_to,
uint32_t sg_get_page_size(void);
/* If os_err_num is within bounds then the returned value is 'os_err_num +
- * SG_LIB_OS_BASE_ERR' otherwise -1 is returned. If os_err_num is 0 then 0
- * is returned. */
+ * SG_LIB_OS_BASE_ERR' otherwise SG_LIB_OS_BASE_ERR is returned. If
+ * os_err_num is 0 then 0 is returned. */
int sg_convert_errno(int os_err_num);
diff --git a/include/sg_pt_linux.h b/include/sg_pt_linux.h
index 5e22fd77..fd98c328 100644
--- a/include/sg_pt_linux.h
+++ b/include/sg_pt_linux.h
@@ -2,7 +2,7 @@
#define SG_PT_LINUX_H
/*
- * Copyright (c) 2017 Douglas Gilbert.
+ * Copyright (c) 2017-2018 Douglas Gilbert.
* All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the BSD_LICENSE file.
@@ -96,8 +96,8 @@ struct sg_pt_linux_scsi {
/* Leave io_hdr in first place of this structure */
bool is_sg;
bool is_bsg;
- bool is_nvme; /* OS device type, if false ignore nvme_direct */
- bool nvme_direct; /* false: our SNTL; true: received NVMe command */
+ bool is_nvme; /* OS device type, if false ignore nvme_direct */
+ bool nvme_direct; /* false: our SNTL; true: received NVMe command */
bool mdxfer_out; /* direction of metadata xfer, true->data-out */
bool scsi_dsense; /* SCSI descriptor sense active when true */
int dev_fd; /* -1 if not given (yet) */