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:00 +0000 (01:43 +0200)
commitc90eedffe930abe64e37bd34aa990ab641fce203
tree6996ee1be99664f85efbafba73aa854109dfa52a
parent23d403910fa55c6101a0cb998b4cf66af7887493
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