aboutsummaryrefslogtreecommitdiff
path: root/include/sg_unaligned.h
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2017-12-29 18:23:19 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2017-12-29 18:23:19 +0000
commitb29ef85867d5347e8fed4c603986964868cba801 (patch)
tree6c39b1855f97dc416307229654713d9aed4c8d54 /include/sg_unaligned.h
parent766b77d70276eef4a6ae92217d1ffbcde819a88b (diff)
downloadsg3_utils-b29ef85867d5347e8fed4c603986964868cba801.tar.gz
sg_ses: further NVMe support work; decode array status dpage (obsolete); build: add SG_LIB_ANDROID
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@738 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'include/sg_unaligned.h')
-rw-r--r--include/sg_unaligned.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sg_unaligned.h b/include/sg_unaligned.h
index 6a7b10e8..1ca74d55 100644
--- a/include/sg_unaligned.h
+++ b/include/sg_unaligned.h
@@ -97,7 +97,7 @@ static inline uint64_t sg_get_unaligned_be64(const void *p)
/* Returns 0 if 'num_bytes' is less than or equal to 0 or greater than
* 8 (i.e. sizeof(uint64_t)). Else returns result in uint64_t which is
- * an 8 bytes unsigned integer. */
+ * an 8 byte unsigned integer. */
static inline uint64_t sg_get_unaligned_be(int num_bytes, const void *p)
{
if ((num_bytes <= 0) || (num_bytes > (int)sizeof(uint64_t)))
@@ -239,7 +239,7 @@ static inline uint64_t sg_get_unaligned_le64(const void *p)
/* Returns 0 if 'num_bytes' is less than or equal to 0 or greater than
* 8 (i.e. sizeof(uint64_t)). Else returns result in uint64_t which is
- * an 8 bytes unsigned integer. */
+ * an 8 byte unsigned integer. */
static inline uint64_t sg_get_unaligned_le(int num_bytes, const void *p)
{
if ((num_bytes <= 0) || (num_bytes > (int)sizeof(uint64_t)))