From owner-svn-src-all@FreeBSD.ORG Tue Feb 4 20:52:34 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85B51755; Tue, 4 Feb 2014 20:52:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6FB6619A0; Tue, 4 Feb 2014 20:52:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s14KqY0A053348; Tue, 4 Feb 2014 20:52:34 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s14KqYXT053347; Tue, 4 Feb 2014 20:52:34 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201402042052.s14KqYXT053347@svn.freebsd.org> From: Ed Schouten Date: Tue, 4 Feb 2014 20:52:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261495 - head/sys/dev/watchdog X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 20:52:34 -0000 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 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); }