Ignore:
File:
1 edited

Legend:

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

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