mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refactor code
This commit is contained in:
parent
511cf65ec8
commit
74800d0137
5 changed files with 13 additions and 15 deletions
|
@ -296,7 +296,7 @@ srs_error_t SrsFileReader::lseek(off_t offset, int whence, off_t* seeked)
|
|||
{
|
||||
off_t sk = _srs_lseek_fn(fd, offset, whence);
|
||||
if (sk < 0) {
|
||||
return srs_error_new(ERROR_SYSTEM_FILE_SEEK, "seek %v failed", (int)sk);
|
||||
return srs_error_new(ERROR_SYSTEM_FILE_SEEK, "seek %d failed", (int)sk);
|
||||
}
|
||||
|
||||
if (seeked) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue