projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix link errors with GCC 10 and binutils 2.34 on Fedora
[pintos-anon]
/
src
/
tests
/
filesys
/
extended
/
child-syn-rw.c
diff --git
a/src/tests/filesys/extended/child-syn-rw.c
b/src/tests/filesys/extended/child-syn-rw.c
index 0e2217df58da7e4272ffd9ce40a0926d099213d1..d456a3a5ec49991d44530f192fe064230a96b154 100644
(file)
--- a/
src/tests/filesys/extended/child-syn-rw.c
+++ b/
src/tests/filesys/extended/child-syn-rw.c
@@
-13,8
+13,6
@@
#include "tests/filesys/extended/syn-rw.h"
#include "tests/lib.h"
#include "tests/filesys/extended/syn-rw.h"
#include "tests/lib.h"
-const char *test_name = "child-syn-rw";
-
static char buf1[BUF_SIZE];
static char buf2[BUF_SIZE];
static char buf1[BUF_SIZE];
static char buf2[BUF_SIZE];
@@
-25,6
+23,7
@@
main (int argc, const char *argv[])
int fd;
size_t ofs;
int fd;
size_t ofs;
+ test_name = "child-syn-rw";
quiet = true;
CHECK (argc == 2, "argc must be 2, actually %d", argc);
quiet = true;
CHECK (argc == 2, "argc must be 2, actually %d", argc);