fix watchdog seek test (#2383)

SVN-Revision: 8772
master
Eugene Konev 18 years ago
parent c5d8137d09
commit fbd19377fa
  1. 2
      target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c

@ -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…
Cancel
Save