aboutsummaryrefslogtreecommitdiff
path: root/tests/test_relocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_relocation.c')
-rw-r--r--tests/test_relocation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_relocation.c b/tests/test_relocation.c
index 4a02e01..891e346 100644
--- a/tests/test_relocation.c
+++ b/tests/test_relocation.c
@@ -13,7 +13,7 @@ void test_replace_text() {
for (size_t i = 0; i < sizeof(targets) / sizeof(*targets); i += 2) {
const char *target = targets[i];
const char *expected = targets[i + 1];
- char input[BUFSIZ] = {0};
+ char input[STASIS_BUFSIZ] = {0};
strncpy(input, test_string, sizeof(input) - 1);
input[sizeof(input) - 1] = '\0';
@@ -44,7 +44,7 @@ void test_file_replace_text() {
return;
}
- char input[BUFSIZ] = {0};
+ char input[STASIS_BUFSIZ] = {0};
fp = fopen(filename, "r");
if (fp) {
fread(input, sizeof(*input), sizeof(input), fp);