mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 21:54:36 +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:
parent
9353ef4694
commit
2c3ecd000e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user