lsfd: add columns for SIZE
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
This commit is contained in:
parent
61fe735065
commit
bec8c27141
3 changed files with 7 additions and 0 deletions
|
@ -136,6 +136,9 @@ static bool file_fill_column(struct proc *proc,
|
|||
case COL_UID:
|
||||
xasprintf(&str, "%d", (int)file->stat.st_uid);
|
||||
break;
|
||||
case COL_SIZE:
|
||||
xasprintf(&str, "%ju", file->stat.st_size);
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue