Commit 613a7a0a authored by Zara Saldanha's avatar Zara Saldanha

Update traverse.c

parent 9a7be053
......@@ -118,7 +118,7 @@ void process(char *root)
} // while
}
}
newest = "file_stat.c"
newest = 'file_stat.c';
avg = (float)sum /(float)numOfFiles;
printf(" a total of %d files were counted\n",numOfFiles);
printf(" a total of %d directories were counted\n",num_dir);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment