diff options
author | jimharris <jimharris@FreeBSD.org> | 2013-06-26 23:20:08 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2013-06-26 23:20:08 +0000 |
commit | 4d63e9a6042335ac179666efa53e626cb0d723c3 (patch) | |
tree | d7a15392485454a9cdc5a520c67591d63fb9dfaa /sbin/nvmecontrol/nvmecontrol.h | |
parent | 57728d033757510c81668f7054bc1ccc5945933e (diff) | |
download | FreeBSD-src-4d63e9a6042335ac179666efa53e626cb0d723c3.zip FreeBSD-src-4d63e9a6042335ac179666efa53e626cb0d723c3.tar.gz |
Create #defines for NVME_CTRLR_PREFIX and NVME_NS_PREFIX for the "nvme"
and "ns" strings, rather than hardcoding the string values throughout the
nvmecontrol code base.
Sponsored by: Intel
MFC after: 3 days
Diffstat (limited to 'sbin/nvmecontrol/nvmecontrol.h')
-rw-r--r-- | sbin/nvmecontrol/nvmecontrol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/nvmecontrol/nvmecontrol.h b/sbin/nvmecontrol/nvmecontrol.h index ec61e95..c05792e 100644 --- a/sbin/nvmecontrol/nvmecontrol.h +++ b/sbin/nvmecontrol/nvmecontrol.h @@ -31,6 +31,9 @@ #include <dev/nvme/nvme.h> +#define NVME_CTRLR_PREFIX "nvme" +#define NVME_NS_PREFIX "ns" + #define DEVLIST_USAGE \ " nvmecontrol devlist\n" |