mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
MFV r271516:
Enable debug printf's when ZFS_DEBUG or debug= is set. Illumos issue: 5134 if ZFS_DEBUG or debug= is set, libzpool should enable debug prints MFC after: 2 weeks
This commit is contained in:
commit
8fb2117122
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271533
@ -650,6 +650,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;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user