du.c: tiny cleanup (no semantic change)
authorJim Meyering <meyering@redhat.com>
Thu, 29 May 2008 16:01:05 +0000 (18:01 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 29 May 2008 16:01:05 +0000 (18:01 +0200)
* src/du.c (process_file): Use "file", rather than
equivalent "ent->fts_path".

src/du.c

index 4d50622..b67b89c 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -482,7 +482,7 @@ process_file (FTS *fts, FTSENT *ent)
   bool skip;
 
   /* If necessary, set FTS_SKIP before returning.  */
-  skip = excluded_file_name (exclude, ent->fts_path);
+  skip = excluded_file_name (exclude, file);
   if (skip)
     fts_set (fts, ent, FTS_SKIP);