svn commit: r223843 - head/sys/fs/smbfs

Jonathan Anderson jonathan at FreeBSD.org
Thu Jul 7 17:00:42 UTC 2011


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,


More information about the svn-src-all mailing list