diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-04-05 13:48:19 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-04-05 13:48:19 +0200 |
commit | d70ae202e02dea09c7506d78c5b4ccb4de43d107 (patch) | |
tree | 0f1094ce74eb10e35c75512eaf8082b4fefbf140 /tests | |
parent | de4618540ea7665e01d2fd8b60edf3c2cdde5e34 (diff) | |
download | wolfbones-d70ae202e02dea09c7506d78c5b4ccb4de43d107.tar.gz wolfbones-d70ae202e02dea09c7506d78c5b4ccb4de43d107.tar.bz2 |
fixed size_t printfs on OpenBSD for network test 1
Diffstat (limited to 'tests')
-rw-r--r-- | tests/network/test1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/network/test1.c b/tests/network/test1.c index 93ff240..5ab52c9 100644 --- a/tests/network/test1.c +++ b/tests/network/test1.c @@ -459,13 +459,13 @@ fprintf( stderr, "select %04d read_fd: %s write_fd: %s wbuf: %d rbuf: %d stdin_e count++; if( count % 10000 == 0 ) { - fprintf( stderr, "Transfered nof_selects: %d, stdin: %d, stdout: %d, fd-in: %d, fd-out: %d\n", + fprintf( stderr, "Transfered nof_selects: %d, stdin: %zd, stdout: %zd, fd-in: %zd, fd-out: %zd\n", count, total_stdin_read, total_stdout_written, total_fd_read, total_fd_written ); } } while( !terminate && !( stdin_eof && fd_eof ) ); END: - fprintf( stderr, "Terminated stdin: %d, stdout: %d, fd-in: %d, fd-out: %d\n", + fprintf( stderr, "Terminated stdin: %zd, stdout: %zd, fd-in: %zd, fd-out: %zd\n", total_stdin_read, total_stdout_written, total_fd_read, total_fd_written ); res = close( fd ); |