Fix LINT, broken by a -Wformat warning in r320329 with PFS_DELEN being
changed from %d to a long-width type. Use uintmax_t casting and %ju to futureproof the format string against potential changes with either the #define or the implementation-specific definition for offsetof(..).
This commit is contained in:
parent
1d6e811063
commit
6bfe453238
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320413
@ -866,7 +866,7 @@ pfs_readdir(struct vop_readdir_args *va)
|
||||
free(pfsent, M_IOV);
|
||||
i++;
|
||||
}
|
||||
PFS_TRACE(("%d bytes", i * PFS_DELEN));
|
||||
PFS_TRACE(("%ju bytes", (uintmax_t)(i * PFS_DELEN)));
|
||||
PFS_RETURN (error);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user