mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
In usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c, cast a printf field width
parameter to int. MFC after: 1 week
This commit is contained in:
parent
5207dac8ba
commit
e0c518be94
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228659
@ -143,7 +143,7 @@ main(int argc, char **argv)
|
||||
*/
|
||||
npieces = atoi(&ftsent->fts_name[ftsent->fts_namelen-3]);
|
||||
piece = atoi(&ftsent->fts_name[ftsent->fts_namelen-7]);
|
||||
err("%.*s %d/%d sent", ftsent->fts_namelen-8, ftsent->fts_name,
|
||||
err("%.*s %d/%d sent", (int)(ftsent->fts_namelen-8), ftsent->fts_name,
|
||||
piece, npieces);
|
||||
|
||||
if (chunk++ == num_to_send)
|
||||
|
Loading…
Reference in New Issue
Block a user