Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2009 21:51:12 +0000 (UTC)
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r195879 - projects/libprocstat/usr.bin/fstat
Message-ID:  <200907252151.n6PLpC2X052069@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stas
Date: Sat Jul 25 21:51:12 2009
New Revision: 195879
URL: http://svn.freebsd.org/changeset/base/195879

Log:
  - Fix fuser.

Modified:
  projects/libprocstat/usr.bin/fstat/fuser.c

Modified: projects/libprocstat/usr.bin/fstat/fuser.c
==============================================================================
--- projects/libprocstat/usr.bin/fstat/fuser.c	Sat Jul 25 21:07:56 2009	(r195878)
+++ projects/libprocstat/usr.bin/fstat/fuser.c	Sat Jul 25 21:51:12 2009	(r195879)
@@ -243,7 +243,7 @@ do_fuser(int argc, char *argv[])
 	procstat = procstat_open(kernimg, mcore);
 	if (procstat == NULL)
 		errx(1, "procstat_open()");
-	p = procstat_getprocs(procstat, KERN_PROC_ALL, 0, &cnt);
+	p = procstat_getprocs(procstat, KERN_PROC_PROC, 0, &cnt);
 	if (p == NULL)
 		 errx(1, "procstat_getprocs()");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907252151.n6PLpC2X052069>