diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-29 11:52:48 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-29 16:38:13 +1000 |
commit | 08c90d6f2df85499f43c5766a62839e80437290f (patch) | |
tree | fcb15e9db58d7b136825c4e418fa43370a48e39c /source3/lib | |
parent | 0a3c84b554f3862b3e558f62e67ceb8311b248ce (diff) | |
download | samba-08c90d6f2df85499f43c5766a62839e80437290f.tar.gz samba-08c90d6f2df85499f43c5766a62839e80437290f.tar.bz2 samba-08c90d6f2df85499f43c5766a62839e80437290f.zip |
s3-smb Use FILE_ATTRIBUTE_VOLUME intead of aVOLID
This means we use just one constant for this file attribute.
Andrew Bartlett
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 1cd0059dd7..ac79b994c9 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -304,7 +304,7 @@ char *attrib_string(uint16 mode) attrstr[0] = 0; - if (mode & aVOLID) fstrcat(attrstr,"V"); + if (mode & FILE_ATTRIBUTE_VOLUME) fstrcat(attrstr,"V"); if (mode & aDIR) fstrcat(attrstr,"D"); if (mode & aARCH) fstrcat(attrstr,"A"); if (mode & FILE_ATTRIBUTE_HIDDEN) fstrcat(attrstr,"H"); |