Changeset 11674


Ignore:
Timestamp:
Jan 15, 2011, 5:34:47 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) fix a minor error in the log message for prefetch errors. thanks to Chinstrap for spotting this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.c

    r11600 r11674  
    157157            const int rc = tr_prefetch( fd, fileOffset, buflen );
    158158            if( rc < 0 ) {
     159                /* (don't set "err" here... it's okay for prefetch to fail) */
    159160                tr_tordbg( tor, "prefetch failed for \"%s\": %s",
    160                            file->name, tr_strerror( err ) );
     161                           file->name, tr_strerror( errno ) );
    161162            }
    162163        } else if( ioMode == TR_IO_WRITE ) {
Note: See TracChangeset for help on using the changeset viewer.