Ignore:
File:
1 edited

Legend:

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

    r1ab8539 r26de91a  
    402402       
    403403        struct timeval time_before;
    404         gettimeofday(&time_before, NULL);
     404        rc = gettimeofday(&time_before, NULL);
     405        if (rc != EOK) {
     406                fprintf(stderr, "Get time of day error %d\n", rc);
     407                return rc;
     408        }
    405409       
    406410        nettest1_test(socket_ids,       1,        1);
     
    410414       
    411415        struct timeval time_after;
    412         gettimeofday(&time_after, NULL);
     416        rc = gettimeofday(&time_after, NULL);
     417        if (rc != EOK) {
     418                fprintf(stderr, "Get time of day error %d\n", rc);
     419                return rc;
     420        }
    413421       
    414422        printf("Tested in %ld microseconds\n", tv_sub(&time_after,
Note: See TracChangeset for help on using the changeset viewer.