1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 06:45:31 +02:00

fix watchdog seek test (#2383)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8772 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
ejka 2007-09-14 04:46:34 +00:00
parent 9353ef4694
commit 2c3ecd000e

View File

@ -218,7 +218,7 @@ static struct notifier_block ar7_wdt_notifier = {
static ssize_t ar7_wdt_write(struct file *file, const char *data,
size_t len, loff_t *ppos)
{
if (ppos != &file->f_pos)
if (*ppos != file->f_pos)
return -ESPIPE;
/* check for a magic close character */