summaryrefslogtreecommitdiff
path: root/src/du.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-29 18:01:05 +0200
committerJim Meyering <meyering@redhat.com>2008-05-29 18:01:05 +0200
commit8581bcc9e3610be735c393650605b56f019695af (patch)
treedf1c53dd688afe7db12906db4448ce62d917a819 /src/du.c
parent00a309823501317f9061a28e98cc13177bc4a12a (diff)
downloadcoreutils-8581bcc9e3610be735c393650605b56f019695af.tar.xz
du.c: tiny cleanup (no semantic change)
* src/du.c (process_file): Use "file", rather than equivalent "ent->fts_path".
Diffstat (limited to 'src/du.c')
-rw-r--r--src/du.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/du.c b/src/du.c
index 4d5062289..b67b89cea 100644
--- 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);