Consistently spell "file name" and "file system" as two words.
[pintos-anon] / src / tests / filesys / base / child-syn-read.c
index a7801d4774e21673661053e89681bc56e96325a2..e426fadc570ba4804e667e61e49a05e6c92d66af 100644 (file)
@@ -1,7 +1,7 @@
 /* Child process for syn-read test.
    Reads the contents of a test file a byte at a time, in the
    hope that this will take long enough that we can get a
-   significant amount of contention in the kernel filesystem
+   significant amount of contention in the kernel file system
    code. */
 
 #include <random.h>
@@ -28,12 +28,12 @@ main (int argc, const char *argv[])
   random_init (0);
   random_bytes (buf, sizeof buf);
 
-  CHECK ((fd = open (filename)) > 1, "open \"%s\"", filename);
+  CHECK ((fd = open (file_name)) > 1, "open \"%s\"", file_name);
   for (i = 0; i < sizeof buf; i++) 
     {
       char c;
-      CHECK (read (fd, &c, 1) > 0, "read \"%s\"", filename);
-      compare_bytes (&c, buf + i, 1, i, filename);
+      CHECK (read (fd, &c, 1) > 0, "read \"%s\"", file_name);
+      compare_bytes (&c, buf + i, 1, i, file_name);
     }
   close (fd);