diff options
-rw-r--r-- | sys/kern/kern_descrip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 9274f9b..ee96376 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -2527,14 +2527,14 @@ DB_SHOW_COMMAND(files, db_show_files) struct file *fp; struct proc *p; - db_printf("%9s %4s %9s %9s %6s %9s %6s %12s\n", "File", "Type", - "Data", "Flag", "Count", "Vnode", "FPid", "FCmd"); + db_printf("%8s %4s %8s %8s %4s %5s %8s %5s %12s\n", "File", + "Type", "Data", "Flag", "GCFl", "Count", "Vnode", "FPID", "FCmd"); LIST_FOREACH(fp, &filehead, f_list) { p = file_to_first_proc(fp); - db_printf("%9p %4s %9p 0x%09x %6d %9p %6d %12s\n", fp, + db_printf("%8p %4s %8p %08x %04x %5d %8p %5d %12s\n", fp, file_type_to_name(fp->f_type), fp->f_data, fp->f_flag, - fp->f_count, fp->f_vnode, p != NULL ? p->p_pid : -1, - p != NULL ? p->p_comm : "-"); + fp->f_gcflag, fp->f_count, fp->f_vnode, + p != NULL ? p->p_pid : -1, p != NULL ? p->p_comm : "-"); } } #endif |