diff --git a/tools/tools/netrate/netsend/Makefile b/tools/tools/netrate/netsend/Makefile
index 230cef796cdc..a26b629397e1 100644
--- a/tools/tools/netrate/netsend/Makefile
+++ b/tools/tools/netrate/netsend/Makefile
@@ -2,6 +2,7 @@
 # $FreeBSD$
 #
 
+CFLAGS+=	-Wall
 PROG=	netsend
 NOMAN=	yes
 
diff --git a/tools/tools/netrate/netsend/netsend.c b/tools/tools/netrate/netsend/netsend.c
index 14a8e6629a15..956cbdf712ba 100644
--- a/tools/tools/netrate/netsend/netsend.c
+++ b/tools/tools/netrate/netsend/netsend.c
@@ -170,10 +170,8 @@ timing_loop(int s, struct timespec interval, long duration, u_char *packet,
 			*((u_int32_t *)packet) = htonl(counter);
 			counter++;
 		}
-		if (send(s, packet, packet_len, 0) < 0) {
-			perror("send");
+		if (send(s, packet, packet_len, 0) < 0)
 			send_errors++;
-		}
 		send_calls++;
 		if (duration != 0 && tmptime.tv_sec >= finishtime)
 			goto done;