patch-2.1.31 linux/drivers/char/wdt.c
Next file: linux/drivers/isdn/isdn_common.c
Previous file: linux/drivers/char/vt.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Apr 2 17:43:21 1997
- Orig file:
v2.1.30/linux/drivers/char/wdt.c
- Orig date:
Thu Mar 27 14:40:03 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/char/wdt.c linux/drivers/char/wdt.c
@@ -275,7 +275,7 @@
}
}
-static void wdt_release(struct inode *inode, struct file *file)
+static int wdt_release(struct inode *inode, struct file *file)
{
if(MINOR(inode->i_rdev)==WATCHDOG_MINOR)
{
@@ -286,6 +286,7 @@
wdt_is_open=0;
}
MOD_DEC_USE_COUNT;
+ return 0;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov