summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/server.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/server.pm b/source4/build/pidl/server.pm
index 2c590ea642..aa44d9cbb2 100644
--- a/source4/build/pidl/server.pm
+++ b/source4/build/pidl/server.pm
@@ -102,7 +102,7 @@ pidl "
}
if (dce_call->fault_code != 0) {
- return NT_STATUS_NET_WRITE_FAULT;
+ return dcerpc_map_fault2ntstatus(dce_call->fault_code);
}
return NT_STATUS_OK;
}