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-close.c
diff --git
a/src/tests/userprog/child-close.c
b/src/tests/userprog/child-close.c
index ac948c8efe6978e98960fceda85218b84a3c3415..866e159a87b4293150fc2ee6c9a647f664ef5aa1 100644
(file)
--- a/
src/tests/userprog/child-close.c
+++ b/
src/tests/userprog/child-close.c
@@
-13,11
+13,11
@@
#include <syscall.h>
#include "tests/lib.h"
#include <syscall.h>
#include "tests/lib.h"
-const char *test_name = "child-close";
-
int
main (int argc UNUSED, char *argv[])
{
int
main (int argc UNUSED, char *argv[])
{
+ test_name = "child-close";
+
msg ("begin");
if (!isdigit (*argv[1]))
fail ("bad command-line arguments");
msg ("begin");
if (!isdigit (*argv[1]))
fail ("bad command-line arguments");