summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-09-28 20:09:36 +0000
committerdes <des@FreeBSD.org>2000-09-28 20:09:36 +0000
commit9cd7f92a8872f85ae87cd8fbe02d0f0010351f18 (patch)
tree5c48d7eaaf0f38176bb17f92d40fb4f8b1b1b70e /lib/libc
parentf01a7783fc8f1e1fb67915f4718a5d88ab283b89 (diff)
downloadFreeBSD-src-9cd7f92a8872f85ae87cd8fbe02d0f0010351f18.zip
FreeBSD-src-9cd7f92a8872f85ae87cd8fbe02d0f0010351f18.tar.gz
Remove superfluous code:
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.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud