arm:fix for test54 and test55

Define the file name templates as char arrays to prevent the
toolchain from mapping them read-only.

Change-Id: Ib2395587b62d4a6ff19c88adc4246dcb41344a53
This commit is contained in:
Kees Jongenburger 2013-09-27 14:07:37 +02:00 committed by Gerrit Code Review
parent b6d951df17
commit f88b0924f3
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ static void do_test(void)
size_t size;
ssize_t nwritten;
ssize_t nread;
char *filename = "pwrite_test_XXXXXXX";
char filename[] = "pwrite_test_XXXXXXX";
int i;
subtest = 1;

View file

@ -13,7 +13,7 @@ int max_error = 3;
int subtest;
char *filename = "statvfs_test_XXXXXX";
char filename[] = "statvfs_test_XXXXXX";
static void create_file(void)
{