More VM tests.
[pintos-anon] / grading / vm / child-linear.c
index 1b22b49a41c7349058f7fc0f6f6fb34beedaa3a4..e0cf2f157cc518548c3e08c29e80b4e8d5f9b17c 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <string.h>
 #include "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. */