summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2019-07-03 17:46:53 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2019-07-03 19:28:59 +0000
commit7b68e6271c0d65aaf13b11f96df43d8572db22fb (patch)
tree4a30e2589b1dee45dc6a31c7291aa1be6c464e8d
parent5c0d9bd77b0d611d65763bdd3980ecb13f9ab4ea (diff)
downloadillumos-joyent-release-20190704.tar.gz
OS-7879 zfs recv is brokenrelease-20190704
Reviewed by: Kody Kantor <kody.kantor@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Kody Kantor <kody.kantor@joyent.com>
-rw-r--r--usr/src/lib/libzfs/common/libzfs_sendrecv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/src/lib/libzfs/common/libzfs_sendrecv.c b/usr/src/lib/libzfs/common/libzfs_sendrecv.c
index 27f05f101e..2bf7c160de 100644
--- a/usr/src/lib/libzfs/common/libzfs_sendrecv.c
+++ b/usr/src/lib/libzfs/common/libzfs_sendrecv.c
@@ -3754,7 +3754,6 @@ zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap,
}
newfs = B_TRUE;
- *cp = '/';
}
zc.zc_begin_record = *drr_noswap;