Consistently spell "file name" and "file system" as two words.
[pintos-anon] / src / tests / filesys / base / child-syn-wrt.c
index 48f1640e1922602654c624af7652d62a48cd5be4..1b5258449ac708a042818a114a5dff137fd9cb17 100644 (file)
@@ -24,11 +24,11 @@ main (int argc, 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);
   seek (fd, CHUNK_SIZE * child_idx);
   CHECK (write (fd, buf + CHUNK_SIZE * child_idx, CHUNK_SIZE) > 0,
-         "write \"%s\"", filename);
-  msg ("close \"%s\"", filename);
+         "write \"%s\"", file_name);
+  msg ("close \"%s\"", file_name);
   close (fd);
 
   return child_idx;