aboutsummaryrefslogtreecommitdiff
path: root/src/relocation.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2023-11-20 00:29:06 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2023-11-20 00:29:06 -0500
commit9e8edf8918c9e79386b4b07f7bc6b2528cea98fb (patch)
tree2074c39d1349eb346cb1812c5296f521f8ec6450 /src/relocation.c
parent49e929fa89d9ce348df5068845069392f69d8c86 (diff)
downloadstasis-9e8edf8918c9e79386b4b07f7bc6b2528cea98fb.tar.gz
Replaces BUFSIZ with OMC_BUFSIZ
Diffstat (limited to 'src/relocation.c')
-rw-r--r--src/relocation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/relocation.c b/src/relocation.c
index a81a45e..b92af2b 100644
--- a/src/relocation.c
+++ b/src/relocation.c
@@ -20,7 +20,7 @@
* @param replacement string value
*/
void replace_text(char *original, const char *target, const char *replacement) {
- char buffer[OHMYCAL_BUFSIZ];
+ char buffer[OMC_BUFSIZ];
char *tmp = original;
memset(buffer, 0, sizeof(buffer));
@@ -62,7 +62,7 @@ void file_replace_text(const char* filename, const char* target, const char* rep
return;
}
- char buffer[OHMYCAL_BUFSIZ];
+ char buffer[OMC_BUFSIZ];
char tempfilename[] = "tempfileXXXXXX";
FILE *tfp = fopen(tempfilename, "w");