Skip to content

Commit

Permalink
Fix cstyle warnings
Browse files Browse the repository at this point in the history
Fix minor cstyle warnings accidentally introduced by 7145123.

Reviewed-by: Paul Dagnelie <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #10143
  • Loading branch information
behlendorf authored Mar 17, 2020
1 parent 7145123 commit 6b7028e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/pyzfs/libzfs_core/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class StreamFeatureIncompatible(ZFSError):
class StreamTruncated(ZFSError):
errno = zfs_errno.ZFS_ERR_STREAM_TRUNCATED
message = "incomplete stream"


class ReceivePropertyFailure(MultipleOperationsFailure):
message = "Receiving of properties failed for one or more reasons"
Expand Down
3 changes: 2 additions & 1 deletion tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,8 @@ test_recv_new(const char *dataset, int fd)
fnvlist_add_boolean(optional, "resumable");
fnvlist_add_uint64(optional, "action_handle", *action_handle);
#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(optional);
Expand Down

0 comments on commit 6b7028e

Please sign in to comment.