Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/vfs/vfs1.c

    r0b0f4bb r19f857a  
    105105        if (cnt < 0)
    106106                return "write() failed";
    107         TPRINTF("Written %zd bytes\n", cnt);
     107        TPRINTF("Written %d bytes\n", cnt);
    108108       
    109109        if (lseek(fd0, 0, SEEK_SET) != 0)
     
    116116                        return "read() failed";
    117117               
    118                 int _cnt = (int) cnt;
    119                 if (_cnt != cnt) {
    120                         /* Count overflow, just to be sure. */
    121                         TPRINTF("Read %zd bytes\n", cnt);
    122                 } else {
    123                         TPRINTF("Read %zd bytes: \"%.*s\"\n", cnt, _cnt, buf);
    124                 }
     118                TPRINTF("Read %d bytes: \".*s\"\n", cnt, cnt, buf);
    125119        }
    126120       
Note: See TracChangeset for help on using the changeset viewer.