kern/176597: [PATCH] watchdog: Correct typo in debug code.
Christoph Mallon
christoph.mallon at gmx.de
Sat Mar 2 08:40:00 UTC 2013
>Number: 176597
>Category: kern
>Synopsis: [PATCH] watchdog: Correct typo in debug code.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 02 08:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Christoph Mallon
>Release:
>Organization:
>Environment:
>Description:
A piece of debug code uses a wrong variable name.
>How-To-Repeat:
>Fix:
Please apply this patch.
--- 0001-watchdog-Correct-typo-in-debug-code.patch begins here ---
>From 2c63e7ad688a706709a3e4d8ded9856172e8aaa0 Mon Sep 17 00:00:00 2001
From: Christoph Mallon <christoph.mallon at gmx.de>
Date: Sat, 2 Mar 2013 09:30:37 +0100
Subject: [PATCH] watchdog: Correct typo in debug code.
---
sys/dev/watchdog/watchdog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/watchdog/watchdog.c b/sys/dev/watchdog/watchdog.c
index 71d8ecd..48b8baa 100644
--- a/sys/dev/watchdog/watchdog.c
+++ b/sys/dev/watchdog/watchdog.c
@@ -177,7 +177,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);
}
--
1.8.1.3
--- 0001-watchdog-Correct-typo-in-debug-code.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list