summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/tpax_file_create_memory_snapshot.c4
-rw-r--r--src/logic/tpax_file_create_tmpfs_snapshot.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/logic/tpax_file_create_memory_snapshot.c b/src/logic/tpax_file_create_memory_snapshot.c
index 0cd0f0c..504a4a1 100644
--- a/src/logic/tpax_file_create_memory_snapshot.c
+++ b/src/logic/tpax_file_create_memory_snapshot.c
@@ -53,7 +53,7 @@ int tpax_file_create_memory_snapshot(
close(fd);
return TPAX_SYSTEM_ERROR(dctx);
- } else if (tpax_stat_compare(srcst,&dstst)) {
+ } else if (tpax_util_stat_compare(srcst,&dstst)) {
close(fd);
return TPAX_CUSTOM_ERROR(dctx,TPAX_ERR_FILE_CHANGED);
}
@@ -86,7 +86,7 @@ int tpax_file_create_memory_snapshot(
close(fd);
return TPAX_SYSTEM_ERROR(dctx);
- } else if (tpax_stat_compare(srcst,&dstst)) {
+ } else if (tpax_util_stat_compare(srcst,&dstst)) {
close(fd);
return TPAX_CUSTOM_ERROR(dctx,TPAX_ERR_FILE_CHANGED);
}
diff --git a/src/logic/tpax_file_create_tmpfs_snapshot.c b/src/logic/tpax_file_create_tmpfs_snapshot.c
index 5939ff4..2e92211 100644
--- a/src/logic/tpax_file_create_tmpfs_snapshot.c
+++ b/src/logic/tpax_file_create_tmpfs_snapshot.c
@@ -64,7 +64,7 @@ int tpax_file_create_tmpfs_snapshot(
close(fdtmp);
return TPAX_SYSTEM_ERROR(dctx);
- } else if (tpax_stat_compare(srcst,&dstst)) {
+ } else if (tpax_util_stat_compare(srcst,&dstst)) {
close(fdsrc);
close(fdtmp);
return TPAX_CUSTOM_ERROR(dctx,TPAX_ERR_FILE_CHANGED);
@@ -114,7 +114,7 @@ int tpax_file_create_tmpfs_snapshot(
close(fdtmp);
return TPAX_SYSTEM_ERROR(dctx);
- } else if (tpax_stat_compare(srcst,&dstst)) {
+ } else if (tpax_util_stat_compare(srcst,&dstst)) {
close(fdsrc);
close(fdtmp);
return TPAX_CUSTOM_ERROR(dctx,TPAX_ERR_FILE_CHANGED);