summaryrefslogtreecommitdiff
path: root/examples/libmsrpc/test/sam
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libmsrpc/test/sam')
-rw-r--r--examples/libmsrpc/test/sam/samenum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/libmsrpc/test/sam/samenum.c b/examples/libmsrpc/test/sam/samenum.c
index 5b10475aac..f1b9ebdf84 100644
--- a/examples/libmsrpc/test/sam/samenum.c
+++ b/examples/libmsrpc/test/sam/samenum.c
@@ -51,7 +51,7 @@ int main(int argc, char **argv) {
eu.in.dom_hnd = sod.out.dom_hnd;
printf("ACB mask (can be 0): ");
- scanf("%hx", &eu.in.acb_mask);
+ scanf("%x", &eu.in.acb_mask);
while(cac_SamEnumUsers(hnd, mem_ctx, &eu)) {
printf("Enumerated %d users:\n", eu.out.num_users);