mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
userland/linux: cc_pedantic actually works there and I found a bug with it
This commit is contained in:
@@ -29,7 +29,7 @@ void ProcStat_init(ProcStatm *result) {
|
||||
}
|
||||
if(7 != fscanf(
|
||||
f,
|
||||
"%ld %ld %ld %ld %ld %ld %ld",
|
||||
"%lu %lu %lu %lu %lu %lu %lu",
|
||||
&(result->size),
|
||||
&(result->resident),
|
||||
&(result->share),
|
||||
|
||||
Reference in New Issue
Block a user