kernel: Fix typo (inavlid -> invalid).
authorSascha Wildner <saw@online.de>
Fri, 30 Nov 2012 17:57:06 +0000 (18:57 +0100)
committerSascha Wildner <saw@online.de>
Fri, 30 Nov 2012 17:57:06 +0000 (18:57 +0100)
sys/dev/disk/buslogic/bt.c
sys/netgraph7/bluetooth/l2cap/ng_l2cap_ulpi.c

index 5d2c3da..ae15119 100644 (file)
@@ -1521,10 +1521,10 @@ btdone(struct bt_softc *bt, struct bt_ccb *bccb, bt_mbi_comp_code_t comp_code)
                        csio->ccb_h.status = CAM_SEQUENCE_FAIL;
                        break;
                case BTSTAT_INVALID_ACTION_CODE:
-                       panic("%s: Inavlid Action code", bt_name(bt));
+                       panic("%s: Invalid Action code", bt_name(bt));
                        break;
                case BTSTAT_INVALID_OPCODE:
-                       panic("%s: Inavlid CCB Opcode code", bt_name(bt));
+                       panic("%s: Invalid CCB Opcode code", bt_name(bt));
                        break;
                case BTSTAT_LINKED_CCB_LUN_MISMATCH:
                        /* We don't even support linked commands... */
index ef3e8fa..f1bb321 100644 (file)
@@ -29,7 +29,6 @@
  *
  * $Id: ng_l2cap_ulpi.c,v 1.1 2002/11/24 19:47:06 max Exp $
  * $FreeBSD: src/sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c,v 1.5 2005/01/07 01:45:43 imp Exp $
- * $DragonFly: src/sys/netgraph7/bluetooth/l2cap/ng_l2cap_ulpi.c,v 1.2 2008/06/26 23:05:40 dillon Exp $
  */
 
 #include <sys/param.h>
@@ -787,7 +786,7 @@ ng_l2cap_l2ca_write_req(ng_l2cap_p l2cap, struct mbuf *m)
        /* Check channel ID */
        if (l2ca_hdr->lcid < NG_L2CAP_FIRST_CID) {
                NG_L2CAP_ERR(
-"%s: %s - invalid L2CA Data packet. Inavlid channel ID, cid=%d\n",
+"%s: %s - invalid L2CA Data packet. Invalid channel ID, cid=%d\n",
                        __func__, NG_NODE_NAME(l2cap->node), l2ca_hdr->lcid);
                error = EINVAL;
                goto drop;