fix silliness in [8886]
[openwrt.git] / target / linux / ar7 / files / drivers / char / watchdog / ar7_wdt.c
index 2acbd94..2ae83e1 100644 (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)
 {
 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 */
                return -ESPIPE;
 
        /* check for a magic close character */
This page took 0.020722 seconds and 4 git commands to generate.