xfree86: use %zu to format size_t arguments
This commit is contained in:
parent
17c8cb5099
commit
a00dbd0015
|
@ -155,7 +155,7 @@ xf86GetAGPInfo(int screenNum)
|
||||||
info->systemPages = agpinf.pg_system;
|
info->systemPages = agpinf.pg_system;
|
||||||
info->usedPages = agpinf.pg_used;
|
info->usedPages = agpinf.pg_used;
|
||||||
|
|
||||||
xf86DrvMsg(screenNum, X_INFO, "Kernel reported %d total, %d used\n", agpinf.pg_total, agpinf.pg_used);
|
xf86DrvMsg(screenNum, X_INFO, "Kernel reported %zu total, %zu used\n", agpinf.pg_total, agpinf.pg_used);
|
||||||
|
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue