summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/clitar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index 645899a9ff..c29c084cce 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -1405,7 +1405,7 @@ int cmd_setmode(void)
direct=0;
break;
case 'r':
- attra[direct]|=aRONLY;
+ attra[direct]|=FILE_ATTRIBUTE_READONLY;
break;
case 'h':
attra[direct]|=aHIDDEN;