bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/9] device: Fix typos in comments (found by codespell)


From: Stefan Weil
Subject: [PATCH 3/9] device: Fix typos in comments (found by codespell)
Date: Fri, 2 Jan 2015 16:02:48 +0100

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 device/dev_name.c | 2 +-
 device/net_io.c   | 2 +-
 device/tty.h      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/device/dev_name.c b/device/dev_name.c
index 5bf62a0..175e389 100644
--- a/device/dev_name.c
+++ b/device/dev_name.c
@@ -207,7 +207,7 @@ boolean_t dev_name_lookup(
            }
 
            *unit += (slice_num << 4);
-               /* if slice==0, it is either compatability or whole device */
+               /* if slice==0, it is either compatibility or whole device */
 
            if (c >= 'a' && c < 'a' + j) { /* note: w/o this -> whole slice */
                /*
diff --git a/device/net_io.c b/device/net_io.c
index a9d318e..d2928cc 100644
--- a/device/net_io.c
+++ b/device/net_io.c
@@ -640,7 +640,7 @@ net_packet(
         * Do a quick check to see if it is a kernel TTD packet.
         *
         * Only check if KernelTTD is enabled, ie. the current
-        * device driver supports TTD, and the bootp succeded.
+        * device driver supports TTD, and the bootp succeeded.
         */
        if (kttd_enabled && kttd_handle_async(kmsg)) {
                /* 
diff --git a/device/tty.h b/device/tty.h
index a931e33..d7aa2ad 100644
--- a/device/tty.h
+++ b/device/tty.h
@@ -184,7 +184,7 @@ extern boolean_t tty_portdeath(
 #define TS_TRANSLATE   0x00100000      /* translation device enabled */
 #define TS_KDB         0x00200000      /* should enter kdb on ALT */
 
-#define        TS_MIN_TO_RCV   0x00400000      /* character recived during 
+#define        TS_MIN_TO_RCV   0x00400000      /* character received during
                                           receive timeout interval */
 
 /* flags - old names defined in terms of new ones */
-- 
2.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]