From 932252c0ba54a51c8bcf58b747656e29cdebfa6a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 26 Mar 2022 13:06:50 -0700
Subject: [PATCH] use daxctl/libdaxctl.h instead of ndctl/libdaxctl.h

Upstream-Status: Submitted [https://github.com/pmem/pmdk/pull/5413]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/libpmem2/badblocks_ndctl.c        | 2 +-
 src/libpmem2/region_namespace_ndctl.c | 2 +-
 src/libpmem2/usc_ndctl.c              | 2 +-
 src/tools/daxio/daxio.c               | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/libpmem2/badblocks_ndctl.c b/src/libpmem2/badblocks_ndctl.c
index 9a5910bba..cc637f7f4 100644
--- a/src/libpmem2/badblocks_ndctl.c
+++ b/src/libpmem2/badblocks_ndctl.c
@@ -16,7 +16,7 @@
 #include <sys/sysmacros.h>
 #include <fcntl.h>
 #include <ndctl/libndctl.h>
-#include <ndctl/libdaxctl.h>
+#include <daxctl/libdaxctl.h>
 
 #include "libpmem2.h"
 #include "pmem2_utils.h"
diff --git a/src/libpmem2/region_namespace_ndctl.c b/src/libpmem2/region_namespace_ndctl.c
index 1383796a9..e31185984 100644
--- a/src/libpmem2/region_namespace_ndctl.c
+++ b/src/libpmem2/region_namespace_ndctl.c
@@ -6,7 +6,7 @@
  */
 
 #include <ndctl/libndctl.h>
-#include <ndctl/libdaxctl.h>
+#include <daxctl/libdaxctl.h>
 #include <sys/sysmacros.h>
 #include <fcntl.h>
 
diff --git a/src/libpmem2/usc_ndctl.c b/src/libpmem2/usc_ndctl.c
index be63e879b..c58032a83 100644
--- a/src/libpmem2/usc_ndctl.c
+++ b/src/libpmem2/usc_ndctl.c
@@ -5,7 +5,7 @@
  * usc_ndctl.c -- pmem2 usc function for platforms using ndctl
  */
 #include <ndctl/libndctl.h>
-#include <ndctl/libdaxctl.h>
+#include <daxctl/libdaxctl.h>
 #include <sys/types.h>
 #include <sys/sysmacros.h>
 #include <fcntl.h>
diff --git a/src/tools/daxio/daxio.c b/src/tools/daxio/daxio.c
index 66cd0b7ae..7f2c89d48 100644
--- a/src/tools/daxio/daxio.c
+++ b/src/tools/daxio/daxio.c
@@ -21,7 +21,7 @@
 #include <string.h>
 
 #include <ndctl/libndctl.h>
-#include <ndctl/libdaxctl.h>
+#include <daxctl/libdaxctl.h>
 #include <libpmem.h>
 
 #include "util.h"
-- 
2.35.1

