Initial file system tests.
[pintos-anon] / grading / vm / child-linear.c
index 1b22b49a41c7349058f7fc0f6f6fb34beedaa3a4..4fa58b40eb77396cfab1225e6f08436bff5c97d7 100644 (file)
@@ -1,5 +1,6 @@
 #include <stdio.h>
-#include "arc4.h"
+#include <string.h>
+#include "../lib/arc4.h"
 
 #define SIZE (128 * 1024)
 
@@ -17,7 +18,7 @@ main (int argc, char *argv[])
   arc4_crypt (&arc4, buf, SIZE);
 
   /* Decrypt back to zeros. */
-  arc4_init (&arc4, key, strlen (key)));
+  arc4_init (&arc4, key, strlen (key));
   arc4_crypt (&arc4, buf, SIZE);
 
   /* Check that it's all zeros. */