Date: Sat, 7 Jan 2012 16:09:54 +0000 (UTC) From: Ulrich Spoerlein <uqs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r229780 - in head/libexec: bootpd bootpd/bootpgw bootpd/tools/bootptest ftpd getty lukemftpd rbootd revnetgroup rshd rtld-aout rtld-elf rtld-elf/mips rtld-elf/sparc64 tftpd Message-ID: <201201071609.q07G9sDx046751@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: uqs Date: Sat Jan 7 16:09:54 2012 New Revision: 229780 URL: http://svn.freebsd.org/changeset/base/229780 Log: Spelling fixes for libexec/ Modified: head/libexec/bootpd/bootpd.c head/libexec/bootpd/bootpgw/bootpgw.c head/libexec/bootpd/hash.h head/libexec/bootpd/tools/bootptest/bootptest.c head/libexec/bootpd/tools/bootptest/print-bootp.c head/libexec/ftpd/ftpcmd.y head/libexec/getty/init.c head/libexec/lukemftpd/nbsd_pidfile.h head/libexec/rbootd/parseconf.c head/libexec/rbootd/rbootd.c head/libexec/rbootd/rmpproto.c head/libexec/revnetgroup/parse_netgroup.c head/libexec/rshd/rshd.8 head/libexec/rtld-aout/shlib.c head/libexec/rtld-elf/mips/reloc.c head/libexec/rtld-elf/rtld.h head/libexec/rtld-elf/sparc64/reloc.c head/libexec/tftpd/tftp-io.c head/libexec/tftpd/tftp-utils.h Modified: head/libexec/bootpd/bootpd.c ============================================================================== --- head/libexec/bootpd/bootpd.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/bootpd/bootpd.c Sat Jan 7 16:09:54 2012 (r229780) @@ -663,7 +663,7 @@ ignoring request for server %s from clie bp->bp_op = BOOTREPLY; if (bp->bp_ciaddr.s_addr == 0) { /* - * client doesnt know his IP address, + * client doesn't know his IP address, * search by hardware address. */ if (debug > 1) { @@ -1119,7 +1119,7 @@ sendreply(forward, dst_override) /* * This call checks read access to a file. It returns 0 if the file given - * by "path" exists and is publically readable. A value of -1 is returned if + * by "path" exists and is publicly readable. A value of -1 is returned if * access is not permitted or an error occurs. Successful calls also * return the file size in bytes using the long pointer "filesize". * Modified: head/libexec/bootpd/bootpgw/bootpgw.c ============================================================================== --- head/libexec/bootpd/bootpgw/bootpgw.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/bootpd/bootpgw/bootpgw.c Sat Jan 7 16:09:54 2012 (r229780) @@ -534,7 +534,7 @@ handle_request() /* Has this packet hopped too many times? */ hops = bp->bp_hops; if (++hops > maxhops) { - report(LOG_NOTICE, "reqest from %s reached hop limit", + report(LOG_NOTICE, "request from %s reached hop limit", inet_ntoa(recv_addr.sin_addr)); return; } Modified: head/libexec/bootpd/hash.h ============================================================================== --- head/libexec/bootpd/hash.h Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/bootpd/hash.h Sat Jan 7 16:09:54 2012 (r229780) @@ -81,7 +81,7 @@ SOFTWARE. * * A generalized hash function, hash_HashFunction(), is included * with this package to make things a little easier. It is not - * guarenteed to use the best hash algorithm in existence. . . . + * guaranteed to use the best hash algorithm in existence. . . . */ Modified: head/libexec/bootpd/tools/bootptest/bootptest.c ============================================================================== --- head/libexec/bootpd/tools/bootptest/bootptest.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/bootpd/tools/bootptest/bootptest.c Sat Jan 7 16:09:54 2012 (r229780) @@ -186,7 +186,7 @@ main(argc, argv) break; switch (argv[0][1]) { - case 'f': /* File name to reqest. */ + case 'f': /* File name to request. */ if (argc < 2) goto error; argc--; argv++; Modified: head/libexec/bootpd/tools/bootptest/print-bootp.c ============================================================================== --- head/libexec/bootpd/tools/bootptest/print-bootp.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/bootpd/tools/bootptest/print-bootp.c Sat Jan 7 16:09:54 2012 (r229780) @@ -187,7 +187,7 @@ bootp_print(bp, length, sport, dport) /* * Option description data follows. - * These are decribed in: RFC-1048, RFC-1395, RFC-1497, RFC-1533 + * These are described in: RFC-1048, RFC-1395, RFC-1497, RFC-1533 * * The first char of each option string encodes the data format: * ?: unknown Modified: head/libexec/ftpd/ftpcmd.y ============================================================================== --- head/libexec/ftpd/ftpcmd.y Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/ftpd/ftpcmd.y Sat Jan 7 16:09:54 2012 (r229780) @@ -1718,7 +1718,7 @@ exptilde(char *s) * Avoid expanding to a pathname including '\r' or '\n' in order to * not disrupt the FTP protocol. * The expansion found must be unique. - * Return the result as a malloced string, or NULL if an error occured. + * Return the result as a malloced string, or NULL if an error occurred. * * Problem: this production is used for all pathname * processing, but only gives a 550 error reply. Modified: head/libexec/getty/init.c ============================================================================== --- head/libexec/getty/init.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/getty/init.c Sat Jan 7 16:09:54 2012 (r229780) @@ -64,7 +64,7 @@ struct gettystrs gettystrs[] = { { "et", &omode.c_cc[VEOF] }, /* eof chatacter (eot) */ { "pc", nullstr }, /* pad character */ { "tt" }, /* terminal type */ - { "ev" }, /* enviroment */ + { "ev" }, /* environment */ { "lo", loginprg }, /* login program */ { "hn", hostname }, /* host name */ { "he" }, /* host name edit */ Modified: head/libexec/lukemftpd/nbsd_pidfile.h ============================================================================== --- head/libexec/lukemftpd/nbsd_pidfile.h Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/lukemftpd/nbsd_pidfile.h Sat Jan 7 16:09:54 2012 (r229780) @@ -10,7 +10,7 @@ pidfile(const char *basename) pid_t otherpid, childpid; if (basename != NULL) { - errx(EX_USAGE, "Need to impliment NetBSD semantics."); + errx(EX_USAGE, "Need to implement NetBSD semantics."); } pfh = pidfile_open(basename, 0644, &otherpid); Modified: head/libexec/rbootd/parseconf.c ============================================================================== --- head/libexec/rbootd/parseconf.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/rbootd/parseconf.c Sat Jan 7 16:09:54 2012 (r229780) @@ -145,7 +145,7 @@ ParseConfig(void) */ if ((addr = ParseAddr(bcp)) == NULL) { syslog(LOG_ERR, - "ParseConfig: line %d: cant parse <%s>", + "ParseConfig: line %d: can't parse <%s>", linecnt, bcp); continue; } @@ -193,7 +193,7 @@ ParseConfig(void) /* * Restricted list of boot files were spec'd, * however, none of them were found. Since we - * apparently cant let them boot "just anything", + * apparently can't let them boot "just anything", * the entire record is invalidated. */ if (i == 0) { @@ -355,7 +355,7 @@ GetBootFiles(void) (void) closedir(dfd); /* close BootDir */ - if (i == 0) /* cant find any boot files */ + if (i == 0) /* can't find any boot files */ syslog(LOG_ERR, "GetBootFiles: no boot files (%s)\n", BootDir); return(i); Modified: head/libexec/rbootd/rbootd.c ============================================================================== --- head/libexec/rbootd/rbootd.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/rbootd/rbootd.c Sat Jan 7 16:09:54 2012 (r229780) @@ -231,7 +231,7 @@ main(int argc, char *argv[]) r = rset; - if (RmpConns == NULL) { /* timeout isnt necessary */ + if (RmpConns == NULL) { /* timeout isn't necessary */ nsel = select(maxfds, &r, NULL, NULL, NULL); } else { timeout.tv_sec = RMP_TIMEOUT; Modified: head/libexec/rbootd/rmpproto.c ============================================================================== --- head/libexec/rbootd/rmpproto.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/rbootd/rmpproto.c Sat Jan 7 16:09:54 2012 (r229780) @@ -401,7 +401,7 @@ SendReadRepl(RMPCONN *rconn) int madeconn = 0; /* - * Find the old connection. If one doesnt exist, create one only + * Find the old connection. If one doesn't exist, create one only * to return the error code. */ if ((oldconn = FindConn(rconn)) == NULL) { @@ -515,7 +515,7 @@ BootDone(RMPCONN *rconn) struct rmp_packet *rpl; /* - * If we cant find the connection, ignore the request. + * If we can't find the connection, ignore the request. */ if ((oldconn = FindConn(rconn)) == NULL) { syslog(LOG_ERR, "BootDone: no existing connection (%s)", Modified: head/libexec/revnetgroup/parse_netgroup.c ============================================================================== --- head/libexec/revnetgroup/parse_netgroup.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/revnetgroup/parse_netgroup.c Sat Jan 7 16:09:54 2012 (r229780) @@ -199,8 +199,8 @@ parse_netgrp(char *group) if (lp->l_parsed) { #ifdef DEBUG /* - * This error message is largely superflous since the - * code handles the error condition sucessfully, and + * This error message is largely superfluous since the + * code handles the error condition successfully, and * spewing it out from inside libc can actually hose * certain programs. */ Modified: head/libexec/rshd/rshd.8 ============================================================================== --- head/libexec/rshd/rshd.8 Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/rshd/rshd.8 Sat Jan 7 16:09:54 2012 (r229780) @@ -148,7 +148,7 @@ by The options are as follows: .Bl -tag -width indent .It Fl a -This flag is ignored, and is present for compatability purposes. +This flag is ignored, and is present for compatibility purposes. .It Fl D Sets the TCP_NODELAY socket option, which improves the performance of small back-to-back writes at the expense of additional network Modified: head/libexec/rtld-aout/shlib.c ============================================================================== --- head/libexec/rtld-aout/shlib.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/rtld-aout/shlib.c Sat Jan 7 16:09:54 2012 (r229780) @@ -159,7 +159,7 @@ cmpndewey(int d1[], int n1, int d2[], in if (i == n2) return 1; - errx(1, "cmpndewey: cant happen"); + errx(1, "cmpndewey: can't happen"); return 0; } Modified: head/libexec/rtld-elf/mips/reloc.c ============================================================================== --- head/libexec/rtld-elf/mips/reloc.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/rtld-elf/mips/reloc.c Sat Jan 7 16:09:54 2012 (r229780) @@ -358,7 +358,7 @@ reloc_non_plt(Obj_Entry *obj, Obj_Entry def = find_symdef(i, obj, &defobj, false, NULL, lockstate); if (def == NULL) { - dbg("Warning4, cant find symbole %d", i); + dbg("Warning4, can't find symbole %d", i); return -1; } *got = def->st_value + (Elf_Addr)defobj->relocbase; Modified: head/libexec/rtld-elf/rtld.h ============================================================================== --- head/libexec/rtld-elf/rtld.h Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/rtld-elf/rtld.h Sat Jan 7 16:09:54 2012 (r229780) @@ -238,7 +238,7 @@ typedef struct Struct_Obj_Entry { Objlist dagmembers; /* DAG has these members (%) */ dev_t dev; /* Object's filesystem's device */ ino_t ino; /* Object's inode number */ - void *priv; /* Platform-dependant */ + void *priv; /* Platform-dependent */ } Obj_Entry; #define RTLD_MAGIC 0xd550b87a Modified: head/libexec/rtld-elf/sparc64/reloc.c ============================================================================== --- head/libexec/rtld-elf/sparc64/reloc.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/rtld-elf/sparc64/reloc.c Sat Jan 7 16:09:54 2012 (r229780) @@ -623,7 +623,7 @@ reloc_jmpslot(Elf_Addr *wherep, Elf_Addr flush(where, 4); } else if (target >= 0 && target < (1L<<32)) { /* - * We're withing 32-bits of address zero. + * We're within 32-bits of address zero. * * The resulting code in the jump slot is: * @@ -643,7 +643,7 @@ reloc_jmpslot(Elf_Addr *wherep, Elf_Addr flush(where, 4); } else if (target <= 0 && target > -(1L<<32)) { /* - * We're withing 32-bits of address -1. + * We're within 32-bits of address -1. * * The resulting code in the jump slot is: * @@ -665,7 +665,7 @@ reloc_jmpslot(Elf_Addr *wherep, Elf_Addr flush(where, 4); } else if (offset <= (1L<<32) && offset >= -((1L<<32) - 4)) { /* - * We're withing 32-bits -- we can use a direct call + * We're within 32-bits -- we can use a direct call * insn * * The resulting code in the jump slot is: @@ -688,7 +688,7 @@ reloc_jmpslot(Elf_Addr *wherep, Elf_Addr flush(where, 4); } else if (offset >= 0 && offset < (1L<<44)) { /* - * We're withing 44 bits. We can generate this + * We're within 44 bits. We can generate this * pattern: * * The resulting code in the jump slot is: @@ -713,7 +713,7 @@ reloc_jmpslot(Elf_Addr *wherep, Elf_Addr flush(where, 4); } else if (offset < 0 && offset > -(1L<<44)) { /* - * We're withing 44 bits. We can generate this + * We're within 44 bits. We can generate this * pattern: * * The resulting code in the jump slot is: Modified: head/libexec/tftpd/tftp-io.c ============================================================================== --- head/libexec/tftpd/tftp-io.c Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/tftpd/tftp-io.c Sat Jan 7 16:09:54 2012 (r229780) @@ -72,13 +72,13 @@ 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); \ } Modified: head/libexec/tftpd/tftp-utils.h ============================================================================== --- head/libexec/tftpd/tftp-utils.h Sat Jan 7 16:09:43 2012 (r229779) +++ head/libexec/tftpd/tftp-utils.h Sat Jan 7 16:09:54 2012 (r229780) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201071609.q07G9sDx046751>