aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_cmds_basic.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2018-01-09 03:09:10 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2018-01-09 03:09:10 +0000
commit605b21190ce9af77ee3533e12b2e59a7f883ffee (patch)
treebec664a8f7fde19b399af40a4be20a6d3c18b6b8 /lib/sg_cmds_basic.c
parenta0df198b498b114e901cb022acddcc14330275da (diff)
downloadsg3_utils-605b21190ce9af77ee3533e12b2e59a7f883ffee.tar.gz
FreeBSD port now works with NVMe SNTL and sg3_ses pass-through (NVME-MI); man page cleanups; improve SNTL translation to VPD page 0x83
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@743 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'lib/sg_cmds_basic.c')
-rw-r--r--lib/sg_cmds_basic.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/sg_cmds_basic.c b/lib/sg_cmds_basic.c
index 43f17968..479d45b3 100644
--- a/lib/sg_cmds_basic.c
+++ b/lib/sg_cmds_basic.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999-2017 Douglas Gilbert.
+ * Copyright (c) 1999-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.
@@ -20,22 +20,23 @@
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
-#include "sg_lib.h"
-#include "sg_cmds_basic.h"
-#include "sg_pt.h"
-#include "sg_unaligned.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include "sg_lib.h"
+#include "sg_cmds_basic.h"
+#include "sg_pt.h"
+#include "sg_unaligned.h"
+
/* Needs to be after config.h */
#ifdef SG_LIB_LINUX
#include <errno.h>
#endif
-static const char * const version_str = "1.77 20171030";
+static const char * const version_str = "1.78 20180104";
#define SENSE_BUFF_LEN 64 /* Arbitrary, could be larger */