Consistently spell "file name" and "file system" as two words.
[pintos-anon] / src / tests / filesys / base / syn-write.c
index 19e9d592207cfa464758742cc3f2d319fc260eee..1439862dd2ddf1aba0816deaad0e13014aaa4a91 100644 (file)
@@ -19,13 +19,13 @@ test_main (void)
   pid_t children[CHILD_CNT];
   int fd;
 
-  CHECK (create (filename, sizeof buf1), "create \"%s\"", filename);
+  CHECK (create (file_name, sizeof buf1), "create \"%s\"", file_name);
 
   exec_children ("child-syn-wrt", children, CHILD_CNT);
   wait_children (children, CHILD_CNT);
 
-  CHECK ((fd = open (filename)) > 1, "open \"%s\"", filename);
-  CHECK (read (fd, buf1, sizeof buf1) > 0, "read \"%s\"", filename);
+  CHECK ((fd = open (file_name)) > 1, "open \"%s\"", file_name);
+  CHECK (read (fd, buf1, sizeof buf1) > 0, "read \"%s\"", file_name);
   random_bytes (buf2, sizeof buf2);
-  compare_bytes (buf1, buf2, sizeof buf1, 0, filename);
+  compare_bytes (buf1, buf2, sizeof buf1, 0, file_name);
 }