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

Diff for /src/usr.bin/fstat/fuser.c between version 1.2 and 1.3

version 1.2, 2009/07/19 12:56:19 version 1.3, 2013/10/22 16:40:28
Line 65 
Line 65 
  * to a file held by a process (kf), else 0.   * to a file held by a process (kf), else 0.
  */   */
 static int  static int
 match(struct filearg *fa, struct kinfo_file2 *kf)  match(struct filearg *fa, struct kinfo_file *kf)
 {  {
         if (fa->dev == kf->va_fsid) {          if (fa->dev == kf->va_fsid) {
                 if (cflg)                  if (cflg)
Line 77 
Line 77 
 }  }
   
 /*  /*
  * Examine kinfo_file2 struct and record the details if they   * Examine kinfo_file struct and record the details if they
  * match a watched file.   * match a watched file.
  */   */
 void  void
 fuser_check(struct kinfo_file2 *kf)  fuser_check(struct kinfo_file *kf)
 {  {
         struct filearg *fa;          struct filearg *fa;
         struct fuser *fu;          struct fuser *fu;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3