Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/gunzip/gunzip.c

    rd5c1051 rb93ea46a  
    5858        }
    5959
    60         if (fseek(f, 0, SEEK_END) < 0) {
     60        rc = fseek(f, 0, SEEK_END);
     61        if (rc != 0) {
    6162                printf("Error determining size of '%s'\n", argv[1]);
    6263                fclose(f);
     
    7172        }
    7273
    73         if (fseek(f, 0, SEEK_SET) < 0) {
     74        rc = fseek(f, 0, SEEK_SET);
     75        if (rc != 0) {
    7476                printf ("Error rewinding '%s'\n", argv[1]);
    7577                fclose(f);
Note: See TracChangeset for help on using the changeset viewer.