patch-1.3.87 linux/net/appletalk/ddp.c

Next file: linux/net/ax25/af_ax25.c
Previous file: linux/net/appletalk/aarp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.86/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -19,7 +19,7 @@
  *		Alan Cox		:	Added firewall hooks.
  *		Alan Cox		:	Supports new ARPHRD_LOOPBACK
  *		Christer Weinigel	: 	Routing and /proc fixes.
- *		Bradford Johnson	:	Locatalk.
+ *		Bradford Johnson	:	Localtalk.
  *		Tom Dyas		:	Module support.
  *		Alan Cox		:	Hooks for PPP (based on the
  *						localtalk hook).
@@ -381,7 +381,7 @@
 			return 0;
 		}
 		/*
-		 *	If it didnt like our faked request then fail:
+		 *	If it didn't like our faked request then fail:
 		 *	This should check against -ENOIOCTLCMD and fall
 		 *	through. That needs us to fix all the devices up
 		 *	properly. We can then also dump the localtalk test.
@@ -704,7 +704,7 @@
 }
 
 /*
- *	A device event has occured. Watch for devices going down and
+ *	A device event has occurred. Watch for devices going down and
  *	delete our use of them (iface and route).
  */
 
@@ -996,7 +996,7 @@
 	
 /*
  *	Generic fcntl calls are already dealt with. If we don't need funny ones
- *	this is the all you need. Async I/O is also seperate.
+ *	this is the all you need. Async I/O is also separate.
  */
   
 static int atalk_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
@@ -1306,7 +1306,7 @@
 	
 	if(addr->sat_family!=AF_APPLETALK)
 		return -EAFNOSUPPORT;
-#if 0 	/* Netatalk doesnt check this */
+#if 0 	/* Netatalk doesn't check this */
 	if(addr->sat_addr.s_node==ATADDR_BCAST && !sk->broadcast)
 		return -EPERM;
 #endif		
@@ -1412,7 +1412,7 @@
 	/*
 	 *	Fix up the length field	[Ok this is horrible but otherwise
 	 *	I end up with unions of bit fields and messy bit field order
-	 *	compiler/endian dependancies..]
+	 *	compiler/endian dependencies..]
 	 */
 
 	*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));
@@ -1655,7 +1655,7 @@
 			return(-EINVAL);
 		if(usat->sat_family != AF_APPLETALK)
 			return -EINVAL;
-#if 0 	/* netatalk doesnt implement this check */
+#if 0 	/* netatalk doesn't implement this check */
 		if(usat->sat_addr.s_node==ATADDR_BCAST && !sk->broadcast)
 			return -EPERM;
 #endif			
@@ -1723,7 +1723,7 @@
 	/*
 	 *	Fix up the length field	[Ok this is horrible but otherwise
 	 *	I end up with unions of bit fields and messy bit field order
-	 *	compiler/endian dependancies..
+	 *	compiler/endian dependencies..
 	 */
 	*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this