zfs/lib
Tino Reichardt 3d9f37026d 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-13 09:39:53 -07:00
..
libavl Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libefi Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libicp Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libnvpair Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libshare Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libspl linux: libspl: zone: () -> (void) 2022-12-01 12:39:44 -08:00
libtpool Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libunicode Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libuutil Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libzfs Fix "Add colored output to zfs list" 2023-04-13 09:39:53 -07:00
libzfs_core Use setproctitle to report progress of zfs send 2023-03-29 14:45:34 -07:00
libzfsbootenv Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libzpool set_global_var() should not pass NULL pointers to dlclose() 2022-12-01 12:39:42 -08:00
libzstd Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libzutil Use setproctitle to report progress of zfs send 2023-03-29 14:45:34 -07:00
Makefile.am cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00