summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-29 11:52:48 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-29 16:38:13 +1000
commit08c90d6f2df85499f43c5766a62839e80437290f (patch)
treefcb15e9db58d7b136825c4e418fa43370a48e39c /source3/lib
parent0a3c84b554f3862b3e558f62e67ceb8311b248ce (diff)
downloadsamba-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.c2
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");