aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-02-02 19:01:28 -0500
committerJiri Kosina <jkosina@suse.cz>2010-02-09 05:13:56 -0500
commit3ad2f3fbb961429d2aa627465ae4829758bc7e07 (patch)
treef365c513e8f5b477a61336a600ff54f32b7ad6e1 /drivers/net/tun.c
parent1537a3638cbf741d3826c1002026cce487a6bee0 (diff)
tree-wide: Assorted spelling fixes
In particular, several occurances of funny versions of 'success', 'unknown', 'therefore', 'acknowledge', 'argument', 'achieve', 'address', 'beginning', 'desirable', 'separate' and 'necessary' are fixed. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Joe Perches <joe@perches.com> Cc: Junio C Hamano <gitster@pobox.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r--drivers/net/tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 2834a01bae24..e572ecc09a44 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1365,7 +1365,7 @@ static int tun_chr_close(struct inode *inode, struct file *file)
1365 1365
1366 __tun_detach(tun); 1366 __tun_detach(tun);
1367 1367
1368 /* If desireable, unregister the netdevice. */ 1368 /* If desirable, unregister the netdevice. */
1369 if (!(tun->flags & TUN_PERSIST)) { 1369 if (!(tun->flags & TUN_PERSIST)) {
1370 rtnl_lock(); 1370 rtnl_lock();
1371 if (dev->reg_state == NETREG_REGISTERED) 1371 if (dev->reg_state == NETREG_REGISTERED)