Date: Wed, 15 Jul 2015 17:43:14 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r285608 - stable/10/sys/dev/watchdog Message-ID: <201507151743.t6FHhE8d080893@svnmir.geo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Wed Jul 15 17:43:13 2015 New Revision: 285608 URL: https://svnweb.freebsd.org/changeset/base/285608 Log: MFC: r261495 by ed Use right buffer to print to. PR: kern/176597 Submitted by: Christoph Mallon <christoph mallon gmx de> Approved by: re (gjb) Modified: stable/10/sys/dev/watchdog/watchdog.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/watchdog/watchdog.c ============================================================================== --- stable/10/sys/dev/watchdog/watchdog.c Wed Jul 15 17:36:35 2015 (r285607) +++ stable/10/sys/dev/watchdog/watchdog.c Wed Jul 15 17:43:13 2015 (r285608) @@ -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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507151743.t6FHhE8d080893>