aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_cmds_extra.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_extra.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_extra.c')
-rw-r--r--lib/sg_cmds_extra.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sg_cmds_extra.c b/lib/sg_cmds_extra.c
index fb1b02be..cbd8e626 100644
--- a/lib/sg_cmds_extra.c
+++ b/lib/sg_cmds_extra.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.
@@ -13,6 +13,10 @@
#define __STDC_FORMAT_MACROS 1
#include <inttypes.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "sg_lib.h"
#include "sg_lib_data.h"
#include "sg_cmds_basic.h"
@@ -20,10 +24,6 @@
#include "sg_pt.h"
#include "sg_unaligned.h"
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#define SENSE_BUFF_LEN 64 /* Arbitrary, could be larger */