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:
parent
b6d951df17
commit
f88b0924f3
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ static void do_test(void)
|
||||||
size_t size;
|
size_t size;
|
||||||
ssize_t nwritten;
|
ssize_t nwritten;
|
||||||
ssize_t nread;
|
ssize_t nread;
|
||||||
char *filename = "pwrite_test_XXXXXXX";
|
char filename[] = "pwrite_test_XXXXXXX";
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
subtest = 1;
|
subtest = 1;
|
||||||
|
|
|
@ -13,7 +13,7 @@ int max_error = 3;
|
||||||
|
|
||||||
|
|
||||||
int subtest;
|
int subtest;
|
||||||
char *filename = "statvfs_test_XXXXXX";
|
char filename[] = "statvfs_test_XXXXXX";
|
||||||
|
|
||||||
static void create_file(void)
|
static void create_file(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue