summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/wd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/wd.c b/commands/wd.c
index 26823f869a..f857291f03 100644
--- a/commands/wd.c
+++ b/commands/wd.c
@@ -34,7 +34,7 @@ static int do_wd(int argc, char *argv[])
}
}
- rc = watchdog_set_timeout(timeout);
+ rc = watchdog_set_timeout(watchdog_get_default(), timeout);
if (rc < 0) {
switch (rc) {
case -EINVAL: