[BACK]Return to du.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / du

Diff for /src/usr.bin/du/du.c between version 1.28 and 1.29

version 1.28, 2014/10/19 18:24:58 version 1.29, 2014/10/20 22:13:11
Line 193 
Line 193 
                          * If listing each file, or a non-directory file was                           * If listing each file, or a non-directory file was
                          * the root of a traversal, display the total.                           * the root of a traversal, display the total.
                          */                           */
                         if (listfiles && p->fts_level <= maxdepth)                          if ((listfiles && p->fts_level <= maxdepth) ||
                               p->fts_level == FTS_ROOTLEVEL)
                                 prtout(howmany(p->fts_statp->st_blocks,                                  prtout(howmany(p->fts_statp->st_blocks,
                                     blocksize), p->fts_path, hflag);                                      blocksize), p->fts_path, hflag);
                         p->fts_parent->fts_number += p->fts_statp->st_blocks;                          p->fts_parent->fts_number += p->fts_statp->st_blocks;

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29