Changeset 7bdcc45 in mainline for uspace/app/nettest2/nettest2.c


Ignore:
Timestamp:
2010-12-16T16:38:49Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7837101
Parents:
8e58f94 (diff), eb221e5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

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