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
/
userprog
/
child-rox.c
diff --git
a/src/tests/userprog/child-rox.c
b/src/tests/userprog/child-rox.c
index aba808bde2b52dde3b559d31fd3e9e75771140da..6fb2fc97a3e05d84c8b2cad62b129bc638f71a9b 100644
(file)
--- a/
src/tests/userprog/child-rox.c
+++ b/
src/tests/userprog/child-rox.c
@@
-10,8
+10,6
@@
#include <syscall.h>
#include "tests/lib.h"
#include <syscall.h>
#include "tests/lib.h"
-const char *test_name = "child-rox";
-
static void
try_write (void)
{
static void
try_write (void)
{
@@
-31,6
+29,8
@@
try_write (void)
int
main (int argc UNUSED, char *argv[])
{
int
main (int argc UNUSED, char *argv[])
{
+ test_name = "child-rox";
+
msg ("begin");
try_write ();
msg ("begin");
try_write ();