From ce924f06d41b41945fde5fe6129c4c28802bf61c Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 5 Apr 2021 21:52:22 +0100 Subject: [PATCH] Fix spurious parameters in OS/2 calls. --- setter/src/os2/frag.c | 6 +++--- setter/src/os2/time.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setter/src/os2/frag.c b/setter/src/os2/frag.c index 0cab752..cee86b2 100644 --- a/setter/src/os2/frag.c +++ b/setter/src/os2/frag.c @@ -275,7 +275,7 @@ void Fragmentation(const char* path, size_t clusterSize) } log_write("\tDeleting \"TWO2\".\n"); - rc = __os2_delete((PSZ) "TWO2", 0); + rc = __os2_delete((PSZ) "TWO2"); log_write("\tFile name = \"%s\", size = %d, rc = %d, wRc = %d, cRc = %d\n", "TWO3", twoCluster, rc, wRc, cRc); @@ -300,9 +300,9 @@ void Fragmentation(const char* path, size_t clusterSize) } log_write("\tDeleting \"TWO1\".\n"); - rc = __os2_delete((PSZ) "TWO1", 0); + rc = __os2_delete((PSZ) "TWO1"); log_write("\tDeleting \"TWO3\".\n"); - rc = __os2_delete((PSZ) "TWO3", 0); + rc = __os2_delete((PSZ) "TWO3"); log_write("\tFile name = \"%s\", size = %d, rc = %d, wRc = %d, cRc = %d\n", "FRAGTHRQ", diff --git a/setter/src/os2/time.c b/setter/src/os2/time.c index 0351887..3465a55 100644 --- a/setter/src/os2/time.c +++ b/setter/src/os2/time.c @@ -79,7 +79,7 @@ void Timestamps(const char* path) return; } - rc = __os2_mkdir("TIMES", 0); + rc = __os2_mkdir("TIMES"); if(rc) {