kernel - Fix a vty switch/history bug
commite3b1da0f82bfcd5b982122a27cb2312a9afa3519
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 31 Oct 2016 03:31:01 +0000 (30 20:31 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 31 Oct 2016 03:31:01 +0000 (30 20:31 -0700)
tree0302521b8ab0960deacf199eddaa4ea6aa11a888
parentd1cfe63fbf8b2de5ffb1cdfb1b38331717fad5f8
kernel - Fix a vty switch/history bug

* Fail gracefully when a M_NOWAIT allocate of the history
  buffer fails.

Reported-by: Harald Brinkhof
sys/dev/misc/syscons/schistory.c