diff options
author | Alexander Motin <[email protected]> | 2024-09-17 16:15:42 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-17 13:15:42 -0700 |
commit | ac04407ffec555f2a3385d8e817d0c20870ce33c (patch) | |
tree | 054d85c3b1f48ddacba1faa35666202bcd16f570 /module/zfs | |
parent | bca9b64e7b5a84916282a7f2506fbbc135b4a381 (diff) |
Remove extra newline from spa_set_allocator().
zfs_dbgmsg() does not need newline at the end of the message.
While there, slightly update/sync FreeBSD __dprintf().
Reviewed by: Brian Behlendorf <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Sponsored by: iXsystems, Inc.
Closes #16536
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/metaslab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/metaslab.c b/module/zfs/metaslab.c index 7170b5eef..3bd6e93e9 100644 --- a/module/zfs/metaslab.c +++ b/module/zfs/metaslab.c @@ -1679,7 +1679,7 @@ spa_set_allocator(spa_t *spa, const char *allocator) int a = spa_find_allocator_byname(allocator); if (a < 0) a = 0; spa->spa_active_allocator = a; - zfs_dbgmsg("spa allocator: %s\n", metaslab_allocators[a].msop_name); + zfs_dbgmsg("spa allocator: %s", metaslab_allocators[a].msop_name); } int |