From owner-svn-src-all@FreeBSD.ORG Thu Jan 5 21:36:45 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75A3410657D9; Thu, 5 Jan 2012 21:36:45 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 62B398FC18; Thu, 5 Jan 2012 21:36:45 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q05LajpF056854; Thu, 5 Jan 2012 21:36:45 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q05Laj0m056848; Thu, 5 Jan 2012 21:36:45 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201201052136.q05Laj0m056848@svn.freebsd.org> From: Ulrich Spoerlein Date: Thu, 5 Jan 2012 21:36:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r229655 - in head: usr.bin/locate/locate usr.bin/mail usr.sbin/bluetooth/sdpd usr.sbin/pkg_install/lib X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2012 21:36:45 -0000 Author: uqs Date: Thu Jan 5 21:36:45 2012 New Revision: 229655 URL: http://svn.freebsd.org/changeset/base/229655 Log: Touch up some more small typos missed in the previous round. Reported by: Ben Kaduk et al. Modified: head/usr.bin/locate/locate/util.c head/usr.bin/mail/main.c head/usr.bin/mail/util.c head/usr.sbin/bluetooth/sdpd/server.c head/usr.sbin/pkg_install/lib/plist.c Modified: head/usr.bin/locate/locate/util.c ============================================================================== --- head/usr.bin/locate/locate/util.c Thu Jan 5 21:36:36 2012 (r229654) +++ head/usr.bin/locate/locate/util.c Thu Jan 5 21:36:45 2012 (r229655) @@ -219,15 +219,15 @@ tolower_word(word) /* * Read integer from mmap pointer. - * Essential a simple ``return *(int *)p'' but avoid sigbus + * Essentially a simple ``return *(int *)p'' but avoids sigbus * for integer alignment (SunOS 4.x, 5.x). * * Convert network byte order to host byte order if necessary. - * So we can read on FreeBSD/i386 (little endian) a locate database + * So we can read a locate database on FreeBSD/i386 (little endian) * which was built on SunOS/sparc (big endian). */ -int +int getwm(p) caddr_t p; { Modified: head/usr.bin/mail/main.c ============================================================================== --- head/usr.bin/mail/main.c Thu Jan 5 21:36:36 2012 (r229654) +++ head/usr.bin/mail/main.c Thu Jan 5 21:36:45 2012 (r229655) @@ -259,7 +259,7 @@ Usage: %s [-dEiInv] [-s subject] [-c cc- if (ef == NULL) ef = "%"; if (setfile(ef) <= 0) - /* Either an error has occurted, or no mail */ + /* Either an error has occurred, or no mail */ exit(1); else exit(0); Modified: head/usr.bin/mail/util.c ============================================================================== --- head/usr.bin/mail/util.c Thu Jan 5 21:36:36 2012 (r229654) +++ head/usr.bin/mail/util.c Thu Jan 5 21:36:45 2012 (r229655) @@ -550,7 +550,7 @@ newname: } /* - * Count the occurrances of c in str + * Count the occurrences of c in str */ int charcount(char *str, int c) Modified: head/usr.sbin/bluetooth/sdpd/server.c ============================================================================== --- head/usr.sbin/bluetooth/sdpd/server.c Thu Jan 5 21:36:36 2012 (r229654) +++ head/usr.sbin/bluetooth/sdpd/server.c Thu Jan 5 21:36:45 2012 (r229655) @@ -334,7 +334,7 @@ server_accept_client(server_p srv, int32 * The minimum L2CAP MTU is 43 bytes. That means we need * 65536 / 43 = ~1524 chunks to transfer maximum packet * size with minimum MTU. The "rsp_cs" field in fd_idx_t - * is 11 bit wide that gives us up to 2048 chunks. + * is 11 bits wide, which gives us up to 2048 chunks. */ if (omtu < NG_L2CAP_MTU_MINIMUM) { Modified: head/usr.sbin/pkg_install/lib/plist.c ============================================================================== --- head/usr.sbin/pkg_install/lib/plist.c Thu Jan 5 21:36:36 2012 (r229654) +++ head/usr.sbin/pkg_install/lib/plist.c Thu Jan 5 21:36:45 2012 (r229655) @@ -123,7 +123,7 @@ find_plist_option(Package *pkg, const ch /* * Delete plist item 'type' in the list (if 'name' is non-null, match it - * too.) If 'all' is set, delete all items, not just the first occurrance. + * too.) If 'all' is set, delete all items, not just the first occurrence. */ void delete_plist(Package *pkg, Boolean all, plist_t type, const char *name)