Skip to content

Commit

Permalink
examples: consistent style; range syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed Aug 21, 2024
1 parent 4d598b2 commit bd553bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cred.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ main(int argc, char **argv)
if (base10(optarg, &cred_protect) < 0)
errx(1, "base10: %s", optarg);
if (cred_protect <= 0 || cred_protect > 3)
errx(1, "-c: %s must be in (1,3)", optarg);
errx(1, "-c: %s must be in (0,3]", optarg);
ext |= FIDO_EXT_CRED_PROTECT;
break;
case 'i':
Expand Down

0 comments on commit bd553bd

Please sign in to comment.