=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tcpbench/tcpbench.c,v retrieving revision 1.27 retrieving revision 1.28 diff -c -r1.27 -r1.28 *** src/usr.bin/tcpbench/tcpbench.c 2011/10/07 02:46:48 1.27 --- src/usr.bin/tcpbench/tcpbench.c 2011/12/04 06:37:51 1.28 *************** *** 330,337 **** if (nretry--) { warnx("pcb prev pointer insane"); goto retry; ! } ! else errx(1, "pcb prev pointer insane," " all attempts exausted"); } --- 330,336 ---- if (nretry--) { warnx("pcb prev pointer insane"); goto retry; ! } else errx(1, "pcb prev pointer insane," " all attempts exausted"); } *************** *** 705,711 **** mainstats.nconns++; set_slice_timer(mainstats.nconns > 0); if (ptb->vflag) ! warnx("Accepted connection from %s, fd = %d\n", tmp, sc->fd); } static void --- 704,711 ---- mainstats.nconns++; set_slice_timer(mainstats.nconns > 0); if (ptb->vflag) ! fprintf(stderr, "Accepted connection from %s, fd = %d\n", ! tmp, sc->fd); } static void *************** *** 810,820 **** err(1, "write"); } if (TCP_MODE && n == 0) { ! warnx("Remote end closed connection"); exit(1); } if (ptb->vflag >= 3) ! warnx("write: %zd bytes\n", n); sc->bytes += n; mainstats.slice_bytes += n; if (UDP_MODE) --- 810,820 ---- err(1, "write"); } if (TCP_MODE && n == 0) { ! fprintf(stderr, "Remote end closed connection"); exit(1); } if (ptb->vflag >= 3) ! fprintf(stderr, "write: %zd bytes\n", n); sc->bytes += n; mainstats.slice_bytes += n; if (UDP_MODE)