summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2011-11-13 17:06:33 +0000
committereadler <eadler@FreeBSD.org>2011-11-13 17:06:33 +0000
commit6efa0e7f2265e3682b271e87fb8123fb38ce080e (patch)
treea958020d9bc4530e3f765e268516f264430f7f0f
parent26f00733316ea5ae1929508c323b9ce4437bf797 (diff)
downloadFreeBSD-src-6efa0e7f2265e3682b271e87fb8123fb38ce080e.zip
FreeBSD-src-6efa0e7f2265e3682b271e87fb8123fb38ce080e.tar.gz
- fix duplicate "a a" in some comments
Submitted by: eadler Approved by: simon MFC after: 3 days
-rw-r--r--sbin/gvinum/gvinum.c2
-rw-r--r--sbin/ipfw/main.c2
-rw-r--r--sys/cam/scsi/scsi_ch.h2
-rw-r--r--sys/cam/scsi/scsi_ses.c2
-rw-r--r--sys/fs/devfs/devfs_rule.c2
-rw-r--r--sys/netinet/sctp_structs.h2
-rw-r--r--usr.sbin/mtree/mtree.52
-rw-r--r--usr.sbin/pmcstat/pmcstat.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/sbin/gvinum/gvinum.c b/sbin/gvinum/gvinum.c
index 2039761..0544d00 100644
--- a/sbin/gvinum/gvinum.c
+++ b/sbin/gvinum/gvinum.c
@@ -557,7 +557,7 @@ find_pattern(char *line, char *pattern)
return (NULL);
}
-/* Find a free name for an object given a a prefix. */
+/* Find a free name for an object given a prefix. */
char *
find_name(const char *prefix, int type, int namelen)
{
diff --git a/sbin/ipfw/main.c b/sbin/ipfw/main.c
index 433ce7d..e665b45 100644
--- a/sbin/ipfw/main.c
+++ b/sbin/ipfw/main.c
@@ -87,7 +87,7 @@ help(void)
* which includes the program name and a NULL entry at the end.
* If we are called with a single string, we split it on whitespace.
* Also, arguments with a trailing ',' are joined to the next one.
- * The pointers (av[]) and data are in a a single chunk of memory.
+ * The pointers (av[]) and data are in a single chunk of memory.
* av[0] points to the original program name, all other entries
* point into the allocated chunk.
*/
diff --git a/sys/cam/scsi/scsi_ch.h b/sys/cam/scsi/scsi_ch.h
index d9ca946..5ee2244 100644
--- a/sys/cam/scsi/scsi_ch.h
+++ b/sys/cam/scsi/scsi_ch.h
@@ -359,7 +359,7 @@ struct page_device_capabilities {
* Some of these fields can be a little confusing, so an explanation
* is in order.
*
- * Each component within a a medium changer apparatus is called an
+ * Each component within a medium changer apparatus is called an
* "element".
*
* The "medium transport element address" is the address of the first
diff --git a/sys/cam/scsi/scsi_ses.c b/sys/cam/scsi/scsi_ses.c
index 3f68480..dcc9e4e 100644
--- a/sys/cam/scsi/scsi_ses.c
+++ b/sys/cam/scsi/scsi_ses.c
@@ -714,7 +714,7 @@ ses_log(struct ses_softc *ssc, const char *fmt, ...)
/*
* Is this a device that supports enclosure services?
*
- * It's a a pretty simple ruleset- if it is device type 0x0D (13), it's
+ * It's a pretty simple ruleset- if it is device type 0x0D (13), it's
* an SES device. If it happens to be an old UNISYS SEN device, we can
* handle that too.
*/
diff --git a/sys/fs/devfs/devfs_rule.c b/sys/fs/devfs/devfs_rule.c
index d26f3504..ea05797 100644
--- a/sys/fs/devfs/devfs_rule.c
+++ b/sys/fs/devfs/devfs_rule.c
@@ -617,7 +617,7 @@ devfs_rule_run(struct devfs_krule *dk, struct devfs_dirent *de, unsigned depth)
* XXX: not work as this is called when devices are created
* XXX: long time after the rules were instantiated.
* XXX: a printf() would probably give too much noise, or
- * XXX: DoS the machine. I guess a a rate-limited message
+ * XXX: DoS the machine. I guess a rate-limited message
* XXX: might work.
*/
if (depth > 0) {
diff --git a/sys/netinet/sctp_structs.h b/sys/netinet/sctp_structs.h
index eec2daa..68bdee0 100644
--- a/sys/netinet/sctp_structs.h
+++ b/sys/netinet/sctp_structs.h
@@ -416,7 +416,7 @@ TAILQ_HEAD(sctpchunk_listhead, sctp_tmit_chunk);
#define CHUNK_FLAGS_PR_SCTP_BUF SCTP_PR_SCTP_BUF
#define CHUNK_FLAGS_PR_SCTP_RTX SCTP_PR_SCTP_RTX
-/* The upper byte is used a a bit mask */
+/* The upper byte is used as a bit mask */
#define CHUNK_FLAGS_FRAGMENT_OK 0x0100
struct chk_id {
diff --git a/usr.sbin/mtree/mtree.5 b/usr.sbin/mtree/mtree.5
index 8962e5f..9d3405e 100644
--- a/usr.sbin/mtree/mtree.5
+++ b/usr.sbin/mtree/mtree.5
@@ -48,7 +48,7 @@ Leading whitespace is always ignored.
.Pp
When encoding file or pathnames, any backslash character or
character outside of the 95 printable ASCII characters must be
-encoded as a a backslash followed by three
+encoded as a backslash followed by three
octal digits.
When reading mtree files, any appearance of a backslash
followed by three octal digits should be converted into the
diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c
index 45d64ac..6036167 100644
--- a/usr.sbin/pmcstat/pmcstat.c
+++ b/usr.sbin/pmcstat/pmcstat.c
@@ -1022,7 +1022,7 @@ main(int argc, char **argv)
/*
* Check if "-k kerneldir" was specified, and if whether
- * 'kerneldir' actually refers to a a file. If so, use
+ * 'kerneldir' actually refers to a file. If so, use
* `dirname path` to determine the kernel directory.
*/
if (args.pa_flags & FLAG_HAS_KERNELPATH) {
OpenPOWER on IntegriCloud