summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-26 14:41:33 +0000
committermidipix <writeonce@midipix.org>2024-05-26 14:41:33 +0000
commit6c8a81097fd305d428891377433d7d88ba1119fd (patch)
tree91f2b4fa467e1a7851e2a1fd3f8ccc1f2d50fe1b /src/logic
parent94230e73b767a4acc02a98d4a2520631517f1a2a (diff)
downloadtpax-6c8a81097fd305d428891377433d7d88ba1119fd.tar.bz2
tpax-6c8a81097fd305d428891377433d7d88ba1119fd.tar.xz
library api's: _util_ (utility helper interfaces) namespace overhaul.
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);