summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpcclient/cmd_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 331353aee7..9daded42ec 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -714,7 +714,7 @@ static NTSTATUS cmd_samr_enum_dom_users(struct cli_state *cli,
sscanf(argv[1], "%x", &access_mask);
if (argc > 2)
- sscanf(argv[2], "%x", &acb_mask);
+ sscanf(argv[2], "%hx", &acb_mask);
/* Get sam policy handle */