summaryrefslogtreecommitdiff
path: root/src/df.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/df.c')
-rw-r--r--src/df.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/df.c b/src/df.c
index b8628791e..40011f8ac 100644
--- a/src/df.c
+++ b/src/df.c
@@ -574,7 +574,7 @@ find_mount_point (const char *file, const struct stat *file_stat)
/* Now walk up FILE's parents until we find another file system or /,
chdiring as we go. LAST_STAT holds stat information for the last place
we visited. */
- for (;;)
+ while (true)
{
struct stat st;
if (stat ("..", &st) < 0)
@@ -873,7 +873,7 @@ main (int argc, char **argv)
print_grand_total = false;
grand_fsu.fsu_blocksize = 1;
- for (;;)
+ while (true)
{
int oi = -1;
int c = getopt_long (argc, argv, "aB:iF:hHklmPTt:vx:", long_options,