Commit 67f1550
safe_mmap(): Fix compiler warning in tst_res() format
The length variable has type size_t so the appropriate format is %zu.
Link: https://lore.kernel.org/ltp/20240507155225.14126-1-mdoucha@suse.cz/
Fixes: ff5f945 ("Print prot flag when SAFE_MMAP() fails")
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Martin Doucha <mdoucha@suse.cz>1 parent 7841eed commit 67f1550
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
0 commit comments