From christoph.mallon@gmx.de  Sat Mar  2 08:35:11 2013
Return-Path: <christoph.mallon@gmx.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id C337C277
	for <freebsd-gnats-submit@freebsd.org>; Sat,  2 Mar 2013 08:35:11 +0000 (UTC)
	(envelope-from christoph.mallon@gmx.de)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22])
	by mx1.freebsd.org (Postfix) with ESMTP id 450D0C8
	for <freebsd-gnats-submit@freebsd.org>; Sat,  2 Mar 2013 08:35:11 +0000 (UTC)
Received: from mailout-de.gmx.net ([10.1.76.17]) by mrigmx.server.lan
 (mrigmx001) with ESMTP (Nemesis) id 0LdJxn-1Uben03M1Z-00iS6D for
 <FreeBSD-gnats-submit@freebsd.org>; Sat, 02 Mar 2013 09:35:03 +0100
Received: (qmail invoked by alias); 02 Mar 2013 08:35:03 -0000
Received: from p5B133EDC.dip.t-dialin.net (EHLO rotluchs.lokal) [91.19.62.220]
  by mail.gmx.net (mp017) with SMTP; 02 Mar 2013 09:35:03 +0100
Received: from tron by rotluchs.lokal with local (Exim 4.80.1 (FreeBSD))
	(envelope-from <christoph.mallon@gmx.de>)
	id 1UBhuH-000JFH-Tm
	for FreeBSD-gnats-submit@freebsd.org; Sat, 02 Mar 2013 09:35:01 +0100
Message-Id: <E1UBhuH-000JFH-Tm@rotluchs.lokal>
Date: Sat, 02 Mar 2013 09:35:01 +0100
From: Christoph Mallon <christoph.mallon@gmx.de>
Reply-To: Christoph Mallon <christoph.mallon@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] watchdog: Correct typo in debug code.
X-Send-Pr-Version: 3.114
X-GNATS-Notify: Alfred Perlstein <alfred@FreeBSD.org>

>Number:         176597
>Category:       kern
>Synopsis:       [PATCH] watchdog: Correct typo in debug code.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ed
>State:          patched
>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:  Thu Apr 17 04:14:18 UTC 2014
>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@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:

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/176597: commit references a PR
Date: Tue,  4 Feb 2014 20:52:41 +0000 (UTC)

 Author: ed
 Date: Tue Feb  4 20:52:33 2014
 New Revision: 261495
 URL: http://svnweb.freebsd.org/changeset/base/261495
 
 Log:
   Use right buffer to print to.
   
   PR:		kern/176597
   Submitted by:	Christoph Mallon <christoph mallon gmx de>
   MFC after:	2 weeks
 
 Modified:
   head/sys/dev/watchdog/watchdog.c
 
 Modified: head/sys/dev/watchdog/watchdog.c
 ==============================================================================
 --- head/sys/dev/watchdog/watchdog.c	Tue Feb  4 18:54:33 2014	(r261494)
 +++ head/sys/dev/watchdog/watchdog.c	Tue Feb  4 20:52:33 2014	(r261495)
 @@ -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);
  	}
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: linimon 
State-Changed-When: Thu Apr 17 04:13:51 UTC 2014 
State-Changed-Why:  
over to committer as MFC reminder. 


Responsible-Changed-From-To: freebsd-bugs->ed 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Apr 17 04:13:51 UTC 2014 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=176597 
>Unformatted:
