diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2013-03-02 16:45:58 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2013-03-02 16:45:58 +0000 |
| commit | f0018bf3c4810b36d96f383dba968c09ba305f5c (patch) | |
| tree | 01b5813009cdcf7d408c5f3b372948a53a5ddef7 /libexec | |
| parent | 92cadb83f11d1a22846d4e57defea9d796c319d8 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/tftpd/tftp-io.c | 4 | ||||
| -rw-r--r-- | libexec/tftpd/tftp-utils.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libexec/tftpd/tftp-io.c b/libexec/tftpd/tftp-io.c index a670023eb091..1d4f743a4359 100644 --- a/libexec/tftpd/tftp-io.c +++ b/libexec/tftpd/tftp-io.c @@ -72,13 +72,13 @@ static struct errmsg { #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); \ } diff --git a/libexec/tftpd/tftp-utils.h b/libexec/tftpd/tftp-utils.h index a789252fe4a0..0468612d9d74 100644 --- a/libexec/tftpd/tftp-utils.h +++ b/libexec/tftpd/tftp-utils.h @@ -36,11 +36,11 @@ __FBSDID("$FreeBSD$"); #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 |
