Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jul 2011 17:00:42 +0000 (UTC)
From:      Jonathan Anderson <jonathan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r223843 - head/sys/fs/smbfs
Message-ID:  <201107071700.p67H0gra071437@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jonathan
Date: Thu Jul  7 17:00:42 2011
New Revision: 223843
URL: http://svn.freebsd.org/changeset/base/223843

Log:
  Make a comment more accurate.
  
  This comment refers to CAP_NT_SMBS, which does not exist; it should refer to SMB_CAP_NT_SMBS.
  Fixing this comment makes it easier for people interested in Capsicum to grep around for
  capability rights, whose identifiers are of the form 'CAP_[A-Z_]'.
  
  Approved by: mentor (rwatson), re (Capsicum blanket)
  Sponsored by: Google Inc

Modified:
  head/sys/fs/smbfs/smbfs_smb.c

Modified: head/sys/fs/smbfs/smbfs_smb.c
==============================================================================
--- head/sys/fs/smbfs/smbfs_smb.c	Thu Jul  7 15:41:40 2011	(r223842)
+++ head/sys/fs/smbfs/smbfs_smb.c	Thu Jul  7 17:00:42 2011	(r223843)
@@ -556,7 +556,7 @@ smbfs_smb_setftime(struct smbnode *np, s
 
 /*
  * Set DOS file attributes.
- * Looks like this call can be used only if CAP_NT_SMBS bit is on.
+ * Looks like this call can be used only if SMB_CAP_NT_SMBS bit is on.
  */
 int
 smbfs_smb_setfattrNT(struct smbnode *np, u_int16_t attr, struct timespec *mtime,



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