From owner-svn-src-projects@FreeBSD.ORG Sat Mar 16 20:28:39 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6F342CC1; Sat, 16 Mar 2013 20:28:39 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 49EF0152; Sat, 16 Mar 2013 20:28:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2GKSdY4094826; Sat, 16 Mar 2013 20:28:39 GMT (envelope-from mm@svn.freebsd.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2GKSdaC094825; Sat, 16 Mar 2013 20:28:39 GMT (envelope-from mm@svn.freebsd.org) Message-Id: <201303162028.r2GKSdaC094825@svn.freebsd.org> From: Martin Matuska Date: Sat, 16 Mar 2013 20:28:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r248382 - projects/libzfs_core/sys/cddl/contrib/opensolaris/uts/common/fs/zfs X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 20:28:39 -0000 Author: mm Date: Sat Mar 16 20:28:38 2013 New Revision: 248382 URL: http://svnweb.freebsd.org/changeset/base/248382 Log: Initialize "error" variable where illumos does. Modified: projects/libzfs_core/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c Modified: projects/libzfs_core/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c ============================================================================== --- projects/libzfs_core/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c Sat Mar 16 17:57:00 2013 (r248381) +++ projects/libzfs_core/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c Sat Mar 16 20:28:38 2013 (r248382) @@ -5862,6 +5862,8 @@ zfsdev_ioctl(struct cdev *dev, u_long zc error = EFAULT; goto out; } +#else + error = 0; #endif if (cflag != ZFS_CMD_COMPAT_NONE) {