Changeset 244 for ksyslog


Ignore:
Timestamp:
10/02/13 11:18:07 (11 years ago)
Author:
atzm
Message:

revise condition for write error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ksyslog/trunk/ksyslog.c

    r243 r244  
    317317                        goto restore; 
    318318 
    319                 if (unlikely(ksyslog_write(file, buf, length) < 0)) { 
     319                if (unlikely(ksyslog_write(file, buf, length) != length)) { 
    320320                        kfree(buf); 
    321321                        goto restore; 
Note: See TracChangeset for help on using the changeset viewer.