]> git.proxmox.com Git - mirror_zfs.git/commit
Correct level handling in zstream recompress.
authorRich Ercolani <214141+rincebrain@users.noreply.github.com>
Thu, 16 May 2024 22:37:50 +0000 (18:37 -0400)
committerGitHub <noreply@github.com>
Thu, 16 May 2024 22:37:50 +0000 (15:37 -0700)
commita043b60f1eabcdd72f30b692565a2c982b1a1e8a
tree195a48a213b72eb1632c0cd60d6ad8b01242f57d
parente675852bc1d50404fcbe4fa0e1f57b6c318e6349
Correct level handling in zstream recompress.

sscanf returns number of items parsed on success and EOF on failure.

Reviewed-by: Adam Moss <c@yotes.com>
Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #16198
cmd/zstream/zstream_recompress.c