667f9d47ad
1) use devname() instead of searching /dev for the dump device 2) use fopen() instead of open() so we don't need to differentiate between compressing and not compressing when writing the core file or the kernel (zopen() returns a FILE *, so we just use fwrite() in both cases) There should be no functional changes. |
||
---|---|---|
.. | ||
Makefile | ||
savecore.8 | ||
savecore.c |