diff options
| author | ws <ws@NetBSD.org> | 1994-01-09 19:44:03 +0000 |
|---|---|---|
| committer | ws <ws@NetBSD.org> | 1994-01-09 19:44:03 +0000 |
| commit | 6202bab2db9783bc584dbffdfd88e0f94dcdd34d (patch) | |
| tree | fcb41272fbfeaf245c59b4dbc2bcbba4a4474621 /sys/miscfs/procfs/procfs_status.c | |
| parent | 8243207be1d49a6f2461067340a20e8195ad3e66 (diff) | |
Bug fixes and enhancements:
Make NFS serving work (BUT DON'T USE "attach" TO /proc/*/ctl FOR NOW!!!)
Make `curproc' a symbolic link
Add `.' and `..' entries to the directories.
Return better guesses on the size of the files.
Diffstat (limited to 'sys/miscfs/procfs/procfs_status.c')
| -rw-r--r-- | sys/miscfs/procfs/procfs_status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_status.c b/sys/miscfs/procfs/procfs_status.c index 2055a7c2597..927682ceb3f 100644 --- a/sys/miscfs/procfs/procfs_status.c +++ b/sys/miscfs/procfs/procfs_status.c @@ -37,7 +37,7 @@ * From: * Id: procfs_status.c,v 4.1 1993/12/17 10:47:45 jsp Rel * - * $Id: procfs_status.c,v 1.1 1994/01/05 07:51:27 cgd Exp $ + * $Id: procfs_status.c,v 1.2 1994/01/09 19:44:06 ws Exp $ */ #include <sys/param.h> @@ -122,7 +122,7 @@ pfs_dostatus(curp, p, pfs, uio) cr = p->p_ucred; ps += sprintf(ps, " %d %d", cr->cr_uid, cr->cr_gid); - for (i = 0; i < cr->cr_ngroups; i++) + for (i = 1; i < cr->cr_ngroups; i++) ps += sprintf(ps, " %d", cr->cr_groups[i]); ps += sprintf(ps, "\n"); |
