mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +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");
|
||||
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 "
|
||||
"%lu %lu %ld %ld %ld %ld "
|
||||
"%ld %ld %llu %lu %ld "
|
||||
|
|
Loading…
Reference in a new issue