summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/ipc.c2
-rw-r--r--source3/smbd/nttrans.c2
-rw-r--r--source3/smbd/trans2.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 67c5da01f3..da30ec7440 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -566,5 +566,5 @@ int reply_trans(connection_struct *conn, char *inbuf,char *outbuf, int size, int
SAFE_FREE(params);
SAFE_FREE(setup);
END_PROFILE(SMBtrans);
- return ERROR_DOS(ERRDOS,ERRinvalidparam);
+ return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
}
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 375c6c44f6..e6884cbb1e 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1990,5 +1990,5 @@ due to being in oplock break state.\n", (unsigned int)function_code ));
SAFE_FREE(data);
SAFE_FREE(setup);
END_PROFILE(SMBnttrans);
- return ERROR_DOS(ERRDOS,ERRinvalidparam);
+ return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
}
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index d57a29ff77..bea09e9e37 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -3372,5 +3372,5 @@ int reply_trans2(connection_struct *conn,
SAFE_FREE(params);
SAFE_FREE(data);
END_PROFILE(SMBtrans2);
- return ERROR_DOS(ERRDOS,ERRinvalidparam);
+ return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
}