Stuf
This commit is contained in:
parent
4c78147755
commit
c054b21f7d
@ -103,9 +103,7 @@ extern int df_main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
while ((mountEntry = getmntent(mountTable))) {
|
while ((mountEntry = getmntent(mountTable))) {
|
||||||
int status = df(mountEntry->mnt_fsname, mountEntry->mnt_dir);
|
df(mountEntry->mnt_fsname, mountEntry->mnt_dir);
|
||||||
if (status)
|
|
||||||
exit( status);
|
|
||||||
}
|
}
|
||||||
endmntent(mountTable);
|
endmntent(mountTable);
|
||||||
}
|
}
|
||||||
|
4
df.c
4
df.c
@ -103,9 +103,7 @@ extern int df_main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
while ((mountEntry = getmntent(mountTable))) {
|
while ((mountEntry = getmntent(mountTable))) {
|
||||||
int status = df(mountEntry->mnt_fsname, mountEntry->mnt_dir);
|
df(mountEntry->mnt_fsname, mountEntry->mnt_dir);
|
||||||
if (status)
|
|
||||||
exit( status);
|
|
||||||
}
|
}
|
||||||
endmntent(mountTable);
|
endmntent(mountTable);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user