Diff for /src/sys/vfs/procfs/procfs_status.c between versions 1.5 and 1.6

version 1.5, 2003/10/02 19:21:06 version 1.6, 2004/05/02 03:05:11
Line 58 Line 58
   
 #define DOCHECK() do { if (ps >= psbuf+sizeof(psbuf)) goto bailout; } while (0)  #define DOCHECK() do { if (ps >= psbuf+sizeof(psbuf)) goto bailout; } while (0)
 int  int
procfs_dostatus(curp, p, pfs, uio)procfs_dostatus(struct proc *curp, struct proc *p, struct pfsnode *pfs,
        struct proc *curp;                struct uio *uio)
        struct proc *p; 
        struct pfsnode *pfs; 
        struct uio *uio; 
 {  {
         struct session *sess;          struct session *sess;
         struct tty *tp;          struct tty *tp;
Line 183  bailout: Line 180  bailout:
 }  }
   
 int  int
procfs_docmdline(curp, p, pfs, uio)procfs_docmdline(struct proc *curp, struct proc *p, struct pfsnode *pfs,
        struct proc *curp;                 struct uio *uio)
        struct proc *p; 
        struct pfsnode *pfs; 
        struct uio *uio; 
 {  {
         char *ps;          char *ps;
         int xlen;          int xlen;

Removed from v.1.5  
changed lines
  Added in v.1.6