Use %d to print numfibs
MFC after: 1 day
This commit is contained in:
parent
33b4ae7d79
commit
2c0e1c7ed4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182853
@ -73,7 +73,7 @@ main(int argc, char *argv[])
|
|||||||
fib = strtol(optarg, &ep, 10);
|
fib = strtol(optarg, &ep, 10);
|
||||||
if (ep == optarg || *ep != '\0' || errno ||
|
if (ep == optarg || *ep != '\0' || errno ||
|
||||||
fib < 0 || fib >= numfibs)
|
fib < 0 || fib >= numfibs)
|
||||||
errx(1, "%s: invalid FIB (max %s)",
|
errx(1, "%s: invalid FIB (max %d)",
|
||||||
optarg, numfibs - 1);
|
optarg, numfibs - 1);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user