Ignore:
File:
1 edited

Legend:

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

    r7e752b2 rc9ebbe71  
    302302        /* Check data buffer size. */
    303303        if (size <= 0) {
    304                 fprintf(stderr, "Data buffer size too small (%zu). Using 1024 "
     304                fprintf(stderr, "Data buffer size too small (%d). Using 1024 "
    305305                    "bytes instead.\n", size);
    306306                size = 1024;
     
    336336                return ENOMEM;
    337337        }
    338         socket_ids[sockets] = 0;
     338        socket_ids[sockets] = NULL;
    339339
    340340        if (verbose)
     
    375375                printf("\tOK\n");
    376376
    377         printf("sendto + recvfrom tested in %ld microseconds\n",
     377        printf("sendto + recvfrom tested in %d microseconds\n",
    378378            tv_sub(&time_after, &time_before));
    379379
     
    403403                printf("\tOK\n");
    404404
    405         printf("sendto, recvfrom tested in %ld microseconds\n",
     405        printf("sendto, recvfrom tested in %d microseconds\n",
    406406            tv_sub(&time_after, &time_before));
    407407
Note: See TracChangeset for help on using the changeset viewer.