Changeset 7bdcc45 in mainline for uspace/app/nettest1/nettest1.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/nettest1/nettest1.c

    r8e58f94 r7bdcc45  
    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.