mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
1a5d6bd23d
* lib/misc/lvm-file.c (lvm_fclose): New function. * lib/misc/lvm-file.h (lvm_fclose): Declare it. * lib/config/config.c (write_config_file): Use the new function to detect and diagnose unlikely write failure. * lib/filters/filter-persistent.c (persistent_filter_dump): Likewise. * lib/format_text/archive.c (archive_vg): Likewise. * lib/format_text/format-text.c (_vg_write_file): Likewise. * lib/log/log.c (fin_log): Similar, but use dm_fclose directly. Include "\n" at end of each fprintf format string. |
||
---|---|---|
.. | ||
log.c | ||
log.h |