"Fixed" a printf format error. Use bogus casts to avoid using %p so that
the output doesn't change (unless the old format caused runtime errors).
This commit is contained in:
parent
1ec86adf67
commit
b7db722f78
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40498
@ -428,7 +428,9 @@ mci_dump(mci, logit)
|
||||
|
||||
sep = logit ? " " : "\n\t";
|
||||
p = buf;
|
||||
snprintf(p, SPACELEFT(buf, p), "MCI@%x: ", mci);
|
||||
snprintf(p, SPACELEFT(buf, p), "MCI@%lx: ",
|
||||
sizeof(void *) == sizeof(u_long) ?
|
||||
(u_long)(void *)mci : (u_long)(u_int)(void *)mci);
|
||||
p += strlen(p);
|
||||
if (mci == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user