diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c index 5409a6aa615..ffde89071b7 100644 --- a/dlls/rpcrt4/rpc_message.c +++ b/dlls/rpcrt4/rpc_message.c @@ -754,8 +754,8 @@ RPC_STATUS WINAPI I_RpcReceive(PRPC_MESSAGE pMsg) break; case PKT_FAULT: pMsg->RpcFlags |= WINE_RPCFLAG_EXCEPTION; - ERR ("we got fault packet with status %lx\n", hdr->fault.status); - status = RPC_S_CALL_FAILED; /* ? */ + ERR ("we got fault packet with status 0x%lx\n", hdr->fault.status); + status = hdr->fault.status; /* FIXME: do translation from nca error codes */ goto fail; default: WARN("bad packet type %d\n", hdr->common.ptype);