Commit 2c083d0d authored by Zara Saldanha's avatar Zara Saldanha

Update traverse.c

parent 7f2d175c
......@@ -65,7 +65,7 @@ void process(char *root)
dirp = opendir(dname);
memset(&dStat, 0, sizeof(dStat));
stat(dp->d_name, &dStat)
stat(dp->d_name, &dStat);
if (dirp != NULL) { // it is a directory
num_dir=num_dir+1;
printf("directory : %s\n",dname);
......
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