mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
[cppcheck] fix wrong format
Found with invalidPrintfArgType_uint Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
71243ffbdc
commit
fdb2837bc7
1 changed files with 3 additions and 3 deletions
|
@ -109,9 +109,9 @@ static void print_rusage_self(FILE *fp) {
|
|||
long rss_kb = rs.ru_maxrss;
|
||||
#endif
|
||||
fprintf(fp, " rusage self:\n");
|
||||
fprintf(fp, " user time: %llu ms\n", tv_to_msec(rs.ru_utime));
|
||||
fprintf(fp, " sys time: %llu ms\n", tv_to_msec(rs.ru_stime));
|
||||
fprintf(fp, " total time: %llu ms\n", tv_to_msec(rs.ru_utime) + tv_to_msec(rs.ru_stime));
|
||||
fprintf(fp, " user time: %lld ms\n", tv_to_msec(rs.ru_utime));
|
||||
fprintf(fp, " sys time: %lld ms\n", tv_to_msec(rs.ru_stime));
|
||||
fprintf(fp, " total time: %lld ms\n", tv_to_msec(rs.ru_utime) + tv_to_msec(rs.ru_stime));
|
||||
fprintf(fp, " max rss: %ld kb\n", rss_kb);
|
||||
fprintf(fp, " signals: %ld\n", rs.ru_nsignals);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue