[Midnightbsd-cvs] src [8882] trunk/libexec/tftpd: spelling fixes

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 26 18:23:39 EDT 2016


Revision: 8882
          http://svnweb.midnightbsd.org/src/?rev=8882
Author:   laffer1
Date:     2016-09-26 18:23:39 -0400 (Mon, 26 Sep 2016)
Log Message:
-----------
spelling fixes

Modified Paths:
--------------
    trunk/libexec/tftpd/tftp-io.c
    trunk/libexec/tftpd/tftp-utils.h

Modified: trunk/libexec/tftpd/tftp-io.c
===================================================================
--- trunk/libexec/tftpd/tftp-io.c	2016-09-26 22:23:18 UTC (rev 8881)
+++ trunk/libexec/tftpd/tftp-io.c	2016-09-26 22:23:39 UTC (rev 8882)
@@ -72,13 +72,13 @@
 #define DROPPACKET(s)							\
 	if (packetdroppercentage != 0 &&				\
 	    random()%100 < packetdroppercentage) {			\
-		tftp_log(LOG_DEBUG, "Artifical packet drop in %s", s);	\
+		tftp_log(LOG_DEBUG, "Artificial packet drop in %s", s);	\
 		return;							\
 	}
 #define DROPPACKETn(s,n)						\
 	if (packetdroppercentage != 0 &&				\
 	    random()%100 < packetdroppercentage) {			\
-		tftp_log(LOG_DEBUG, "Artifical packet drop in %s", s);	\
+		tftp_log(LOG_DEBUG, "Artificial packet drop in %s", s);	\
 		return (n);						\
 	}
 

Modified: trunk/libexec/tftpd/tftp-utils.h
===================================================================
--- trunk/libexec/tftpd/tftp-utils.h	2016-09-26 22:23:18 UTC (rev 8881)
+++ trunk/libexec/tftpd/tftp-utils.h	2016-09-26 22:23:39 UTC (rev 8882)
@@ -36,11 +36,11 @@
 #define	MAXPKTSIZE	(MAXSEGSIZE + 4) /* Maximum size of the packet */
 
 /* For the blksize option */
-#define BLKSIZE_MIN	8		/* Minumum size of the data segment */
+#define BLKSIZE_MIN	8		/* Minimum size of the data segment */
 #define BLKSIZE_MAX	MAXSEGSIZE	/* Maximum size of the data segment */
 
 /* For the timeout option */
-#define TIMEOUT_MIN	0		/* Minumum timeout value */
+#define TIMEOUT_MIN	0		/* Minimum timeout value */
 #define TIMEOUT_MAX	255		/* Maximum timeout value */
 #define MIN_TIMEOUTS	3
 



More information about the Midnightbsd-cvs mailing list