mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge branch '4.0release' into develop
This commit is contained in:
commit
16babd2b64
1 changed files with 3 additions and 2 deletions
|
@ -358,8 +358,9 @@ bool get_proc_self_stat(SrsProcSelfStat& r)
|
||||||
srs_warn("open self cpu stat failed, ignore");
|
srs_warn("open self cpu stat failed, ignore");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
fscanf(f, "%d %32s %c %d %d %d %d "
|
// Note that we must read less than the size of r.comm, such as %31s for r.comm is char[32].
|
||||||
|
fscanf(f, "%d %31s %c %d %d %d %d "
|
||||||
"%d %u %lu %lu %lu %lu "
|
"%d %u %lu %lu %lu %lu "
|
||||||
"%lu %lu %ld %ld %ld %ld "
|
"%lu %lu %ld %ld %ld %ld "
|
||||||
"%ld %ld %llu %lu %ld "
|
"%ld %ld %llu %lu %ld "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue