diff options
author | jonathan <jonathan@FreeBSD.org> | 2011-07-07 17:00:42 +0000 |
---|---|---|
committer | jonathan <jonathan@FreeBSD.org> | 2011-07-07 17:00:42 +0000 |
commit | 17f552e2e98f662d04bbc0d88ee6d23589ed3aaf (patch) | |
tree | b85d2274db481104f17a2371e203f2d4a0b9547a /sys/fs | |
parent | 6fa05979e3bc946cca70f63675f3bc41e1c29fd4 (diff) | |
download | FreeBSD-src-17f552e2e98f662d04bbc0d88ee6d23589ed3aaf.zip FreeBSD-src-17f552e2e98f662d04bbc0d88ee6d23589ed3aaf.tar.gz |
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
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/smbfs/smbfs_smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c index f58f7de..bebc8ee 100644 --- a/sys/fs/smbfs/smbfs_smb.c +++ b/sys/fs/smbfs/smbfs_smb.c @@ -556,7 +556,7 @@ smbfs_smb_setftime(struct smbnode *np, struct timespec *mtime, /* * 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, |