savecore(8): Use the buf's size and not char *'s size for reading the kernel.
authorSascha Wildner <saw@online.de>
Sat, 16 Jun 2012 23:42:28 +0000 (01:42 +0200)
committerSascha Wildner <saw@online.de>
Sat, 16 Jun 2012 23:43:22 +0000 (01:43 +0200)
commit73337b4788e3f594a43b6098c3919c82687f9b7f
treec8b0120fdf3fb4212d19d443fa39896de887e93b
parent7eeb4207dd3b5eeb8d35e3e9d6de48d63a7810e6
savecore(8): Use the buf's size and not char *'s size for reading the kernel.

This speeds up the kernel saving part by a couple of seconds.
sbin/savecore/savecore.c