summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_smb.c b/source3/python/py_smb.c
index d3858d33d8..679c113f39 100644
--- a/source3/python/py_smb.c
+++ b/source3/python/py_smb.c
@@ -154,7 +154,7 @@ static PyObject *py_smb_nt_create_andx(PyObject *self, PyObject *args,
char *filename;
uint32 desired_access, file_attributes = 0,
share_access = FILE_SHARE_READ | FILE_SHARE_WRITE,
- create_disposition = FILE_EXISTS_OPEN, create_options = 0;
+ create_disposition = OPENX_FILE_EXISTS_OPEN, create_options = 0;
int result;
/* Parse parameters */