X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/74ed307c1e14b64fff77fc8394a134162f2a8e16..9a4c96e6e928efff071679e07963fdfeaee93d71:/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c?ds=sidebyside diff --git a/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c b/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c index 976b23a01..abe157cb0 100644 --- a/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c +++ b/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c @@ -156,7 +156,7 @@ static long ar71xx_wdt_ioctl(struct file *file, case WDIOC_GETSUPPORT: ret = copy_to_user((struct watchdog_info *)arg, &ar71xx_wdt_info, - sizeof(&ar71xx_wdt_info)) ? -EFAULT : 0; + sizeof(ar71xx_wdt_info)) ? -EFAULT : 0; break; case WDIOC_GETSTATUS: