Fix cstyle warnings

Fix minor cstyle warnings accidentally introduced by 7145123b.

Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #10143
This commit is contained in:
Brian Behlendorf 2020-03-17 15:42:27 -07:00 committed by GitHub
parent 7145123b0a
commit 6b7028ec51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -355,7 +355,7 @@ class StreamFeatureIncompatible(ZFSError):
class StreamTruncated(ZFSError): class StreamTruncated(ZFSError):
errno = zfs_errno.ZFS_ERR_STREAM_TRUNCATED errno = zfs_errno.ZFS_ERR_STREAM_TRUNCATED
message = "incomplete stream" message = "incomplete stream"
class ReceivePropertyFailure(MultipleOperationsFailure): class ReceivePropertyFailure(MultipleOperationsFailure):
message = "Receiving of properties failed for one or more reasons" message = "Receiving of properties failed for one or more reasons"

View File

@ -556,7 +556,8 @@ test_recv_new(const char *dataset, int fd)
fnvlist_add_boolean(optional, "resumable"); fnvlist_add_boolean(optional, "resumable");
fnvlist_add_uint64(optional, "action_handle", *action_handle); fnvlist_add_uint64(optional, "action_handle", *action_handle);
#endif #endif
IOC_INPUT_TEST(ZFS_IOC_RECV_NEW, dataset, required, optional, ZFS_ERR_STREAM_TRUNCATED); IOC_INPUT_TEST(ZFS_IOC_RECV_NEW, dataset, required, optional,
ZFS_ERR_STREAM_TRUNCATED);
nvlist_free(props); nvlist_free(props);
nvlist_free(optional); nvlist_free(optional);