aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r--drivers/net/tun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 186ce541c657..a3420e091689 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -2209,7 +2209,7 @@ static int tun_chr_close(struct inode *inode, struct file *file)
2209} 2209}
2210 2210
2211#ifdef CONFIG_PROC_FS 2211#ifdef CONFIG_PROC_FS
2212static int tun_chr_show_fdinfo(struct seq_file *m, struct file *f) 2212static void tun_chr_show_fdinfo(struct seq_file *m, struct file *f)
2213{ 2213{
2214 struct tun_struct *tun; 2214 struct tun_struct *tun;
2215 struct ifreq ifr; 2215 struct ifreq ifr;
@@ -2225,7 +2225,7 @@ static int tun_chr_show_fdinfo(struct seq_file *m, struct file *f)
2225 if (tun) 2225 if (tun)
2226 tun_put(tun); 2226 tun_put(tun);
2227 2227
2228 return seq_printf(m, "iff:\t%s\n", ifr.ifr_name); 2228 seq_printf(m, "iff:\t%s\n", ifr.ifr_name);
2229} 2229}
2230#endif 2230#endif
2231 2231