diff options
-rw-r--r-- | source3/rpcclient/cmd_unixinfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpcclient/cmd_unixinfo.c b/source3/rpcclient/cmd_unixinfo.c index cafe009762..2b8490706b 100644 --- a/source3/rpcclient/cmd_unixinfo.c +++ b/source3/rpcclient/cmd_unixinfo.c @@ -27,7 +27,7 @@ static NTSTATUS cmd_unixinfo_uid2sid(struct rpc_pipe_client *cli, int argc, const char **argv) { uid_t uid; - DOM_SID *sid; + DOM_SID sid; NTSTATUS result; if (argc != 2) { @@ -41,7 +41,7 @@ static NTSTATUS cmd_unixinfo_uid2sid(struct rpc_pipe_client *cli, if (!NT_STATUS_IS_OK(result)) goto done; - printf("%s\n", sid_string_static(sid)); + printf("%s\n", sid_string_static(&sid)); done: return result; @@ -81,7 +81,7 @@ static NTSTATUS cmd_unixinfo_gid2sid(struct rpc_pipe_client *cli, int argc, const char **argv) { gid_t gid; - DOM_SID *sid; + DOM_SID sid; NTSTATUS result; if (argc != 2) { @@ -96,7 +96,7 @@ static NTSTATUS cmd_unixinfo_gid2sid(struct rpc_pipe_client *cli, if (!NT_STATUS_IS_OK(result)) goto done; - printf("%s\n", sid_string_static(sid)); + printf("%s\n", sid_string_static(&sid)); done: return result; |