aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/watchdog
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2014-02-04 20:52:33 +0000
committerEd Schouten <ed@FreeBSD.org>2014-02-04 20:52:33 +0000
commit35a3f5a1b9900d38b4b0e3050b2499f04998f302 (patch)
treef62c3e56ef0d7e1e4c205a08aa7eb2232496eccf /sys/dev/watchdog
parentffb66e7407e5534e217072da3f796e67bc53f40a (diff)
Notes
Diffstat (limited to 'sys/dev/watchdog')
-rw-r--r--sys/dev/watchdog/watchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/watchdog/watchdog.c b/sys/dev/watchdog/watchdog.c
index 54a5db9cc9b7..087d6e862948 100644
--- a/sys/dev/watchdog/watchdog.c
+++ b/sys/dev/watchdog/watchdog.c
@@ -226,7 +226,7 @@ wd_timeout_cb(void *arg)
#ifdef DDB
if ((wd_pretimeout_act & WD_SOFT_DDB)) {
char kdb_why[80];
- snprintf(kdb_why, sizeof(buf), "watchdog %s timeout", type);
+ snprintf(kdb_why, sizeof(kdb_why), "watchdog %s timeout", type);
kdb_backtrace();
kdb_enter(KDB_WHY_WATCHDOG, kdb_why);
}