Fix printf typo for `zfs receive -cv` (#16295)

Current output:
> receiving  correctivefull stream of a into b
New output:
> receiving corrective full stream of a into b

Signed-off-by: glibg10b <56197853+glibg10b@users.noreply.github.com>
Reviewed-by: Rob Norris <rob.norris@klarasystems.com>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
This commit is contained in:
glibg10b 2024-07-18 02:18:12 +02:00 committed by GitHub
parent ab6d9bd89a
commit 1147a27978
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -4952,7 +4952,7 @@ zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap,
if (flags->verbose) { if (flags->verbose) {
(void) printf("%s %s%s stream of %s into %s\n", (void) printf("%s %s%s stream of %s into %s\n",
flags->dryrun ? "would receive" : "receiving", flags->dryrun ? "would receive" : "receiving",
flags->heal ? " corrective" : "", flags->heal ? "corrective " : "",
drrb->drr_fromguid ? "incremental" : "full", drrb->drr_fromguid ? "incremental" : "full",
drrb->drr_toname, destsnap); drrb->drr_toname, destsnap);
(void) fflush(stdout); (void) fflush(stdout);