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-simple.c
diff --git
a/src/tests/userprog/child-simple.c
b/src/tests/userprog/child-simple.c
index eb4cb639a093e92a5d487bcb0038c9875e16d0ec..06cce89807522854de383ee864d278b2eac88b3a 100644
(file)
--- a/
src/tests/userprog/child-simple.c
+++ b/
src/tests/userprog/child-simple.c
@@
-1,11
+1,15
@@
+/* Child process run by exec-multiple, exec-one, wait-simple, and
+ wait-twice tests.
+ Just prints a single message and terminates. */
+
#include <stdio.h>
#include "tests/lib.h"
#include <stdio.h>
#include "tests/lib.h"
-const char *test_name = "child-simple";
-
int
main (void)
{
int
main (void)
{
+ test_name = "child-simple";
+
msg ("run");
return 81;
}
msg ("run");
return 81;
}