svn commit: r341795 - head/sbin/ping

Eugene Grosbein eugen at FreeBSD.org
Mon Dec 10 14:39:22 UTC 2018


Author: eugen
Date: Mon Dec 10 14:39:21 2018
New Revision: 341795
URL: https://svnweb.freebsd.org/changeset/base/341795

Log:
  ping(8): add space after "<=" as per style(9).
  
  MFC after:	1 week
  X-MFC-with:	r341768

Modified:
  head/sbin/ping/ping.c

Modified: head/sbin/ping/ping.c
==============================================================================
--- head/sbin/ping/ping.c	Mon Dec 10 14:24:41 2018	(r341794)
+++ head/sbin/ping/ping.c	Mon Dec 10 14:39:21 2018	(r341795)
@@ -313,7 +313,7 @@ main(int argc, char *const *argv)
 			break;
 		case 'c':
 			ltmp = strtol(optarg, &ep, 0);
-			if (*ep || ep == optarg || ltmp <=0)
+			if (*ep || ep == optarg || ltmp <= 0)
 				errx(EX_USAGE,
 				    "invalid count of packets to transmit: `%s'",
 				    optarg);


More information about the svn-src-all mailing list