From 6c8a81097fd305d428891377433d7d88ba1119fd Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 26 May 2024 14:41:33 +0000 Subject: library api's: _util_ (utility helper interfaces) namespace overhaul. --- src/logic/tpax_file_create_memory_snapshot.c | 4 ++-- src/logic/tpax_file_create_tmpfs_snapshot.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/logic') 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); -- cgit v1.2.3