summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerraTech <[email protected]>2019-04-01 12:25:17 -0700
committerBrian Behlendorf <[email protected]>2019-04-01 12:25:17 -0700
commitbd15ac764fb8fe1995d3b2f6c8ddb643447d92aa (patch)
treeca3772746e3a933e2081dd27cb7431f7bda2ca9f
parentdf583073eb49e602d07ff4ec7d769732b9b9f077 (diff)
Append snapshot name to "TIME SENT SNAPSHOT" output
Simply appends zhp->zfs_name to the "TIME SENT SNAPSHOT" output. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Richard Elling <[email protected]> Signed-off-by: TerraTech <[email protected]> Closes #8543
-rw-r--r--lib/libzfs/libzfs_sendrecv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libzfs/libzfs_sendrecv.c b/lib/libzfs/libzfs_sendrecv.c
index b4500e63f..bcf0f43ce 100644
--- a/lib/libzfs/libzfs_sendrecv.c
+++ b/lib/libzfs/libzfs_sendrecv.c
@@ -1249,7 +1249,8 @@ send_progress_thread(void *arg)
(void) strlcpy(zc.zc_name, zhp->zfs_name, sizeof (zc.zc_name));
if (!pa->pa_parsable)
- (void) fprintf(stderr, "TIME SENT SNAPSHOT\n");
+ (void) fprintf(stderr, "TIME SENT SNAPSHOT %s\n",
+ zhp->zfs_name);
/*
* Print the progress from ZFS_IOC_SEND_PROGRESS every second.