There is a plenty of arch's out there where sizeof(size_t) != sizeof(int).
A field width in printf(3) must be int, so cast return value from strlen() to the type. Noticed by: Andrzej Tobola <ato iem pw edu pl>; tinderbox Pointy hat to: yar X-MFC with: the rest of the new asf code
This commit is contained in:
parent
0a8d09fe8a
commit
b4e9432020
@ -266,7 +266,7 @@ usage(const char *myname)
|
||||
"\t-V\tuse kvm(3) to get the list of modules\n"
|
||||
"\t-X\tappend suffix to list of possible module file name suffixes\n"
|
||||
"\t-x\tclear list of possible module file name suffixes\n",
|
||||
myname, strlen(myname), "");
|
||||
myname, (int)strlen(myname), "");
|
||||
exit(2);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user