Resolve C style issues

Resolve C style issues.

Refer https://github.com/zfsonlinux/zfs/issues/1821