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-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"