mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
5134 if ZFS_DEBUG or debug= is set, libzpool should enable debug prints
Reviewed by: Adam Leventhal <adam.leventhal@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Matthew Ahrens <mahrens@delphix.com> illumos/illumos-gate@7fa49ea5e7
This commit is contained in:
parent
7ecd0c1b10
commit
5cd2c4891f
1 changed files with 3 additions and 0 deletions
|
|
@ -629,6 +629,9 @@ dprintf_setup(int *argc, char **argv)
|
|||
*/
|
||||
if (dprintf_find_string("on"))
|
||||
dprintf_print_all = 1;
|
||||
|
||||
if (dprintf_string != NULL)
|
||||
zfs_flags |= ZFS_DEBUG_DPRINTF;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue