Ignore:
File:
1 edited

Legend:

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

    rc9ebbe71 r7e752b2  
    356356        /* Check data buffer size */
    357357        if (size <= 0) {
    358                 fprintf(stderr, "Data buffer size too small (%d). Using 1024 "
     358                fprintf(stderr, "Data buffer size too small (%zu). Using 1024 "
    359359                    "bytes instead.\n", size);
    360360                size = 1024;
     
    388388                return ENOMEM;
    389389        }
    390         socket_ids[sockets] = NULL;
     390        socket_ids[sockets] = 0;
    391391
    392392        if (verbose)
     
    410410        }
    411411
    412         printf("Tested in %d microseconds\n", tv_sub(&time_after,
     412        printf("Tested in %ld microseconds\n", tv_sub(&time_after,
    413413            &time_before));
    414414
Note: See TracChangeset for help on using the changeset viewer.