mirror_zfs/lib/libzfs
Tino Reichardt 6ecdd35bdb
Fix "Add colored output to zfs list"
Running `zfs list -o avail rpool` resulted in a core dump.
This commit will fix this.

Run the needed overhead only, when `use_color()` is true.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Wilson <gwilson@delphix.com>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #14712
2023-04-05 09:57:01 -07:00
..
os nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
.gitignore
libzfs_changelist.c zfs list: Allow more fields in ZFS_ITER_SIMPLE mode 2022-12-13 17:27:54 -08:00
libzfs_config.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
libzfs_crypto.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libzfs_dataset.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libzfs_diff.c Add more ANSI colors to libzfs 2023-03-24 10:21:19 -07:00
libzfs_impl.h nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libzfs_import.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libzfs_iter.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libzfs_mount.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libzfs_pool.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libzfs_sendrecv.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libzfs_status.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libzfs_util.c Fix "Add colored output to zfs list" 2023-04-05 09:57:01 -07:00
libzfs.abi Fix "Add colored output to zfs list" 2023-04-05 09:57:01 -07:00
libzfs.pc.in
libzfs.suppr
Makefile.am Add generic implementation handling and SHA2 impl 2023-03-02 13:52:21 -08:00
THIRDPARTYLICENSE.openssl
THIRDPARTYLICENSE.openssl.descrip