Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/stdio.c

    rcfbb5d18 r221afc9e  
    3131 * @{
    3232 */
    33 /** @file Standard buffered input/output.
     33/** @file
    3434 */
    3535
     
    355355{
    356356        off64_t ret = ftell(stream);
    357         if (ret != -1) {
    358                 pos->offset = ret;
    359                 return 0;
    360         } else {
    361                 return -1;
    362         }
     357        if (ret == -1) {
     358                return errno;
     359        }
     360        pos->offset = ret;
     361        return 0;
    363362}
    364363
Note: See TracChangeset for help on using the changeset viewer.