Date: Fri, 31 Jul 2009 14:19:57 +0000 (UTC) From: Stanislav Sedov <stas@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r195997 - projects/libprocstat/sys/kern Message-ID: <200907311419.n6VEJvxs071596@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: stas Date: Fri Jul 31 14:19:57 2009 New Revision: 195997 URL: http://svn.freebsd.org/changeset/base/195997 Log: - Revert my previous mode-related change. It appears that my reading was incorrect. Modified: projects/libprocstat/sys/kern/kern_descrip.c Modified: projects/libprocstat/sys/kern/kern_descrip.c ============================================================================== --- projects/libprocstat/sys/kern/kern_descrip.c Fri Jul 31 13:51:26 2009 (r195996) +++ projects/libprocstat/sys/kern/kern_descrip.c Fri Jul 31 14:19:57 2009 (r195997) @@ -3201,7 +3201,7 @@ fill_vnode_info(struct vnode *vp, struct return (error); kif->kf_un.kf_file.kf_file_fsid = va.va_fsid; kif->kf_un.kf_file.kf_file_fileid = va.va_fileid; - kif->kf_un.kf_file.kf_file_mode = va.va_mode; + kif->kf_un.kf_file.kf_file_mode = MAKEIMODE(va.va_type, va.va_mode); kif->kf_un.kf_file.kf_file_size = va.va_size; kif->kf_un.kf_file.kf_file_rdev = va.va_rdev; return (0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907311419.n6VEJvxs071596>