mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-09 22:17:26 +03: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,
|
static ssize_t ar7_wdt_write(struct file *file, const char *data,
|
||||||
size_t len, loff_t *ppos)
|
size_t len, loff_t *ppos)
|
||||||
{
|
{
|
||||||
if (ppos != &file->f_pos)
|
if (*ppos != file->f_pos)
|
||||||
return -ESPIPE;
|
return -ESPIPE;
|
||||||
|
|
||||||
/* check for a magic close character */
|
/* check for a magic close character */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user