From owner-svn-src-head@FreeBSD.ORG Sun Aug 29 20:25:25 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6B25106564A; Sun, 29 Aug 2010 20:25:25 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A69DD8FC14; Sun, 29 Aug 2010 20:25:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o7TKPP22073697; Sun, 29 Aug 2010 20:25:25 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o7TKPPtg073695; Sun, 29 Aug 2010 20:25:25 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201008292025.o7TKPPtg073695@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Sun, 29 Aug 2010 20:25:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r211972 - head/cddl/contrib/opensolaris/cmd/zfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 20:25:25 -0000 Author: pjd Date: Sun Aug 29 20:25:25 2010 New Revision: 211972 URL: http://svn.freebsd.org/changeset/base/211972 Log: Give user a hint what to do when /usr/lib/zfs/pyzfs.py is missing. MFC after: 2 weeks Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c ============================================================================== --- head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Sun Aug 29 20:21:10 2010 (r211971) +++ head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Sun Aug 29 20:25:25 2010 (r211972) @@ -1736,6 +1736,7 @@ zfs_do_userspace(int argc, char **argv) (void) fprintf(stderr, "internal error: %s not found\n" "falling back on built-in implementation, " "some features will not work\n", pypath); + (void) fprintf(stderr, " install sysutils/py-zfs port to correct this\n"); if ((zhp = zfs_open(g_zfs, argv[argc-1], ZFS_TYPE_DATASET)) == NULL) return (1); @@ -3798,6 +3799,7 @@ zfs_do_python(int argc, char **argv) { (void) execv(pypath, argv-1); (void) fprintf(stderr, "internal error: %s not found\n", pypath); + (void) fprintf(stderr, " install sysutils/py-zfs port to correct this\n"); return (-1); }